MGCL V10
V10
MGCL V10
|
クラス | |
class | MGBoundary |
MGBoundary is a boundary of more than 1 manifold dimension. [詳解] | |
class | MGBVertex |
MGBVertex is 0 manifold dimension binder cell, is an point. [詳解] | |
class | MGCell |
MGCell is a general cell that has bound. [詳解] | |
class | MGCellBase |
Is an abstract class and the super class of MGPVertex and MGCellNB. [詳解] | |
class | MGCellNB |
CellNB is a cell without boundaries(No Boundaries). [詳解] | |
class | MGComplex |
MGComplex is a container of parameter cells and binder cells. [詳解] | |
class | MGEdge |
MGEdge is an instance of MGCellNB, represents a boundary element of 2D manifold. [詳解] | |
class | MGFace |
MGFace is a trimmed surface. [詳解] | |
class | MGLoop |
MGLoop is a boundary of a face, a boundary of 2D manifold cell. [詳解] | |
class | MGPVertex |
MGPVertex is a parameter cell of the manifold dimension 0. [詳解] | |
class | MGShell |
MGShell is a composition of MGFace's(trimmed surface). [詳解] | |
class | MGTopology |
MGTopology is an abstract class which represents a whole Topology. [詳解] | |
型定義 | |
typedef std::vector< const MGLBRep * > | SHLL_COM_EDGES |
列挙型 | |
enum | MGCellNB::CELL_KIND { MGCellNB::UNKNOWN =0, MGCellNB::PCELL =1, MGCellNB::BCELL =2 } |
enum | MGLoop::LoopKind { MGLoop::UNDEFINED =-1, MGLoop::INACTIVE =0, MGLoop::PERIMITER_LOOP =1, MGLoop::OUTER_LOOP =2, MGLoop::INNER_LOOP =3, MGLoop::NETWORK =4 } |
関数 | |
MG_DLL_DECLR MGPosition | MGClosest_to_curves (const MGPosition &uv, const MGPvector< MGCurve > &curves) |
MG_DLL_DECLR void | build_networks (const MGFSurface &surf, const MGPvector< MGCurve > &pcurves, MGPvector< MGLoop > &networks) |
Build networks of surf, given parameter curves vector. [詳解] | |
MG_DLL_DECLR std::auto_ptr < MGLoop > | trim_out_subloop (const MGLEPoint &ts, const MGLEPoint &te) |
void MG_DLL_DECLR | set_up_shell_shade (const MGShell &shell, MGDrawParam ¶, MGPvector< MGLBRep > &boudaries, std::vector< std::vector< SHLL_COM_EDGES > > &polylines) |
MGTopology is top abstract class for MGBVertex, MGPVertex, MGEdge, MGLoop, MGFace, MGShell.
typedef std::vector<const MGLBRep*> SHLL_COM_EDGES |
enum MGCellNB::CELL_KIND |
enum MGLoop::LoopKind |
MG_DLL_DECLR void build_networks | ( | const MGFSurface & | surf, |
const MGPvector< MGCurve > & | pcurves, | ||
MGPvector< MGLoop > & | networks | ||
) |
Build networks of surf, given parameter curves vector.
surf | The objective surface |
pcurves | (u,v) 2D parameter curves of surf. |
networks | Built networks |
MG_DLL_DECLR MGPosition MGClosest_to_curves | ( | const MGPosition & | uv, |
const MGPvector< MGCurve > & | curves | ||
) |
Obtain the closest point from point uv to vector of curves. MGClosest_to_curves does not change wc_zero, and so calling program of MGClosest_to_curves should change it if necessary.
uv | Point. |
curves | vector of curves. |
void MG_DLL_DECLR set_up_shell_shade | ( | const MGShell & | shell, |
MGDrawParam & | para, | ||
MGPvector< MGLBRep > & | boudaries, | ||
std::vector< std::vector< SHLL_COM_EDGES > > & | polylines | ||
) |
Set up common edges world coordinate line data in polylines. polylines[i] is std::vector<SHLL_COM_EDGES> for face(i) for i=0,...,number_of_faces()-1.
shell | Target shell |
para | input tessellation parameter. When para.maximum_edge_length_tess()<=0. is input, maximum_edge_length is computed and set in para. |
boudaries | Container of the boundary data. Polylined boundaries will be held in boundaries. |
polylines | polylines[i] holds boundary data of shell.face(i)'s loops polylined boundaries data. |