MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
mgTL2Face クラス

mgTL2Face is a proprietry class for Face tessellation. [詳解]

公開メンバ関数

MG_DLL_DECLR mgTL2Face (const MGDrawParam &param, const MGSurface &face)
 
MG_DLL_DECLR mgTL2Face (const MGDrawParam &param, const MGFSurface &face, const std::vector< SHLL_COM_EDGES > *polylines=0)
 
MG_DLL_DECLR mgTL2Face (const MGFSurface &face, double crvTol, double surfTol, double max_edge_len=-1., const std::vector< SHLL_COM_EDGES > *polylines=0)
 
 mgTL2Face (const mgTL2Face &face)
 
const MGFaceface_pointer () const
 Copy constructor. [詳解]
 
const MGSurfacesurface () const
 Obtain the surface& of the tessellation target. [詳解]
 
mgTL2parameterTL2param ()
 
const mgTL2parameterTL2param () const
 
const std::vector
< SHLL_COM_EDGES > * 
Bpoly () const
 
void MG_DLL_DECLR tessellate (mgTL2Triangles &triangles)
 

フレンド

std::ostream & operator<< (std::ostream &out, const mgTL2Face &face)
 

詳解

mgTL2Face is a proprietry class for Face tessellation.

構築子と解体子

MG_DLL_DECLR mgTL2Face::mgTL2Face ( const MGDrawParam param,
const MGSurface face 
)
引数
paramparameter for the tessellation.
faceテセレーションするフェイス
MG_DLL_DECLR mgTL2Face::mgTL2Face ( const MGDrawParam param,
const MGFSurface face,
const std::vector< SHLL_COM_EDGES > *  polylines = 0 
)
引数
paramparameter for the tessellation.
faceテセレーションするフェイス Must be MGFace or MGSurface.
polylinesInput polygonized polylines of world coordinates for the face boundaries. polylines[i][j] is a j-th edge's polyline for face.loop(i), must be MGLBRep of order 2. polylines[i][j]=0 indicates loop i's edge j can be face's boundary and does not have any common edges. **polylines[i][j] must be the same direction as the faces's parameter edge.
MG_DLL_DECLR mgTL2Face::mgTL2Face ( const MGFSurface face,
double  crvTol,
double  surfTol,
double  max_edge_len = -1.,
const std::vector< SHLL_COM_EDGES > *  polylines = 0 
)
引数
faceテセレーションするフェイス Must be MGFace or MGSurface.
crvTolバウンダリのトレランス
surfTol平面とみなすトレランス
max_edge_lenwhen max_edge_len<=0, this means no limits on an edge length.
polylinesInput polygonized polylines for the face boundaries. polylines[i][j] is a j-th edge's polyline for face.loop(i), must be MGLBRep of order 2. polylines[i][j]=0 indicates loop i's edge j can be face's boundary and does not have any common edges. **polylines[i][j] must be the same direction as the faces's parameter edge.
mgTL2Face::mgTL2Face ( const mgTL2Face face)

関数詳解

const std::vector<SHLL_COM_EDGES>* mgTL2Face::Bpoly ( ) const
inline
const MGFace* mgTL2Face::face_pointer ( ) const

Copy constructor.

Obtain the MGFace pointer if the target is MGFace, else null will be returned.

const MGSurface& mgTL2Face::surface ( ) const
inline

Obtain the surface& of the tessellation target.

void MG_DLL_DECLR mgTL2Face::tessellate ( mgTL2Triangles triangles)

The result will be appended onto triangles. When triangles.is_uv()=false, all of the element of the triangle position data has normal data as (x,y,z,xn,yn,zn). Here (x,y,z) is the position data and (xn,yn,zn) is the normal vector at the position (x,y,z). When triangles.is_uv()=true, all of the element of the triange position data are (u,v).

mgTL2parameter& mgTL2Face::TL2param ( )
inline
const mgTL2parameter& mgTL2Face::TL2param ( ) const
inline

フレンドと関連関数の詳解

std::ostream& operator<< ( std::ostream &  out,
const mgTL2Face face 
)
friend

このクラス詳解は次のファイルから抽出されました: