1 #ifndef _mgTL2Triangles_HH_
2 #define _mgTL2Triangles_HH_
4 #include "mg/Pvector.h"
5 #include "Tl2/TL2Triangle.h"
56 iterator
begin(){
return m_triangles.begin();}
57 iterator
end(){
return m_triangles.end();}
58 const_iterator
begin()
const{
return m_triangles.begin();}
59 const_iterator
end()
const{
return m_triangles.end();}
100 const std::vector<int>& verticesIDs
103 int size()
const{
return int(m_triangles.size());};
116 void tessellate1234edgesLoop(
186 void tessellate_nnnn(
216 void tessellateConcave4(
224 void tessellateSharp4(
mgTL2LPline is limitted subinterval of mgTL2Polyline.
Definition: TL2LPline.h:23
iterator begin()
Definition: TL2Triangles.h:56
data included are surface parameter (u,v).
Definition: MGCL.h:281
MGPvector< mgTL2Triangle >::const_iterator const_iterator
Definition: TL2Triangles.h:28
const_iterator begin() const
Definition: TL2Triangles.h:58
void set_surface(const MGSurface *surf)
Definition: TL2Triangles.h:105
A vector of mgTL2Triangle's.
Definition: TL2Triangles.h:25
TL_DATA_KIND
Triangles' data kind.
Definition: MGCL.h:280
Defines a vector mgTL2Fan.
Definition: TL2Fans.h:33
const_iterator end() const
Definition: TL2Triangles.h:59
bool need_normal() const
Return true if m_triangles' data is (u,v).
Definition: TL2Triangles.h:87
std::ostream & operator<<(std::ostream &ostrm, const MGisect &is)
Debug Function.
Definition: isect.h:95
MGFace is a trimmed surface.
Definition: Face.h:51
void push_back(mgTL2Triangle *pTlTriangle)
Definition: TL2Triangles.h:92
iterator end()
Definition: TL2Triangles.h:57
const mgTL2Triangle * front() const
Definition: TL2Triangles.h:64
int size() const
Definition: TL2Triangles.h:103
MGSurface is an abstract class of 3D surface.
Definition: Surface.h:54
mgTL2Face is a proprietry class for Face tessellation.
Definition: TL2Face.h:29
MGLoop is a boundary of a face, a boundary of 2D manifold cell.
Definition: Loop.h:44
bool is_uv() const
Return true if m_triangles' data is (u,v).
Definition: TL2Triangles.h:68
mgTL2Triangle * front()
Definition: TL2Triangles.h:61
mgTL2Triangle * back()
Definition: TL2Triangles.h:62
MGCL::TL_DATA_KIND get_kind() const
return the data kind of this.
Definition: TL2Triangles.h:90
const MGSurface * surface() const
Definition: TL2Triangles.h:106
void push_back(mgTL2Triangles &tris)
Definition: TL2Triangles.h:93
MGPvector< mgTL2Triangle >::iterator iterator
Definition: TL2Triangles.h:29
const mgTL2Triangle * back() const
Definition: TL2Triangles.h:65
(x,y,z,Nx,Ny,Nz).
Definition: MGCL.h:283
Defines Vector of newed object pointers.
Definition: Pvector.h:27
mgTL2Triangle holds (multiple) triangles data, which are a fan or a strip.
Definition: TL2Triangle.h:30