6 #include "mg/Pvector.h"
7 #include "Tl2/TL2parameter.h"
8 #include "Tl2/TL2Triangles.h"
43 const std::vector<SHLL_COM_EDGES>* polylines=0
57 double max_edge_len=-1.,
58 const std::vector<SHLL_COM_EDGES>* polylines=0
80 const std::vector<SHLL_COM_EDGES>*
Bpoly()
const{
return m_param.
Bpoly();};
95 std::auto_ptr<MGFace> m_polygon;
105 void polygonizeBoundaries();
112 void polygonizeSurfaceBoundaries();
141 std::auto_ptr<mgTL2Polyline> m_polyLine;
mgTL2LPline is limitted subinterval of mgTL2Polyline.
Definition: TL2LPline.h:23
MGCurve is an abstract class which represents a whole curve.
Definition: Curve.h:63
mgTL2Polyline holds a parameter line(polyline) of a surface.
Definition: TL2Polyline.h:25
A vector of mgTL2Triangle's.
Definition: TL2Triangles.h:25
MG_DLL_DECLR mgTL2Face(const MGDrawParam ¶m, const MGSurface &face)
void MG_DLL_DECLR tessellate(mgTL2Triangles &triangles)
MGLEPoint & le_start()
Definition: TL2Face.h:137
MGEdge * make_Edge(const mgTL2parameter &tlpara, const MGEdge &edgeuv, short id[3], mgTL2Polyline *&poly)
mgTL2PlBridge(mgTL2Polyline *line, const MGLEPoint &le_start, const MGLEPoint &le_end)
MGLEPoint & le_end()
Definition: TL2Face.h:138
MGLBRep is a class for B-SPline representation.
Definition: LBRep.h:41
friend std::ostream & operator<<(std::ostream &out, const mgTL2PlBridge &bridge)
Vector of a general n space dimension.
Definition: Vector.h:26
const std::vector< SHLL_COM_EDGES > * Bpoly() const
Definition: TL2parameter.h:87
Defines parameters to draw MGObject, maily to approximate by lines and facets.
Definition: drawParam.h:53
MGFace is a trimmed surface.
Definition: Face.h:51
MGEdge is an instance of MGCellNB, represents a boundary element of 2D manifold.
Definition: Edge.h:33
Express a splitting line for a face for tessellation.
Definition: TL2Face.h:122
const std::vector< SHLL_COM_EDGES > * Bpoly() const
Definition: TL2Face.h:80
const MGSurface & surface() const
Obtain the surface& of the tessellation target.
Definition: TL2Face.h:76
Represent a positional data.
Definition: Position.h:28
bool splitTl(const MGFace &face, const mgTL2parameter &tlparam, bool is_u, MGPvector< MGFace > &faces)
MGSurface is an abstract class of 3D surface.
Definition: Surface.h:54
Is to represent a Loop's point.
Definition: LEPoint.h:28
int find_concave_at_vertex(const MGLoop &lp, MGVector &Vpre, MGVector &Vaft, MGPosition &uv_vertex, MGLEPoint &le_vertex)
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
Holds necessary parameter data for face tessellation.
Definition: TL2parameter.h:46
const mgTL2parameter & TL2param() const
Definition: TL2Face.h:79
MGFSurface is an abstract class to provide the comman interfaces to MGFace and MGSurface.
Definition: FSurface.h:33
const MGSurface & get_surface() const
Definition: TL2parameter.h:90
const MGFace * face_pointer() const
Copy constructor.
mgTL2parameter & TL2param()
Definition: TL2Face.h:78
Defines Vector of newed object pointers.
Definition: Pvector.h:27
friend std::ostream & operator<<(std::ostream &out, const mgTL2Face &face)
void split_by_bridges(const MGFace &face, MGPvector< mgTL2PlBridge > &networks, MGPvector< MGFace > &faces)