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

Holds necessary parameter data for face tessellation. [詳解]

公開メンバ関数

 mgTL2parameter ()
 
 mgTL2parameter (const MGFSurface &obj, double crvTol, double surfTol, const std::vector< SHLL_COM_EDGES > *polylines=0, double max_edge_len=-1.)
 
 mgTL2parameter (const MGFSurface &obj, const MGDrawParam &param, const std::vector< SHLL_COM_EDGES > *polylines=0)
 
 mgTL2parameter (const mgTL2parameter &param2)
 
const std::vector
< SHLL_COM_EDGES > * 
Bpoly () const
 
int edgPerimLen () const
 
const MGFaceget_face () const
 
const MGSurfaceget_surface () const
 
double get_max_edge_len () const
 
double get_max_edge_len_sqr () const
 
double get_tess_crvError () const
 
double get_tess_srfError () const
 
double get_UError () const
 
double get_VError () const
 
double get_UVError () const
 
bool target_is_face () const
 
mgTL2parameteroperator= (const mgTL2parameter &)
 Assignment. [詳解]
 

フレンド

std::ostream & operator<< (std::ostream &out, const mgTL2parameter &para)
 

詳解

Holds necessary parameter data for face tessellation.

mgTL2parameter is a proprietry class for Face tessellation. In the constructor of mgTL2parameter(const MGFace&, double, double), all the parameters are initialized.

構築子と解体子

mgTL2parameter::mgTL2parameter ( )
inline
mgTL2parameter::mgTL2parameter ( const MGFSurface obj,
double  crvTol,
double  surfTol,
const std::vector< SHLL_COM_EDGES > *  polylines = 0,
double  max_edge_len = -1. 
)
引数
objテセレーションするフェイス Must be MGFace or MGSurface.
crvTolTessellation curve tolerance.
surfTolTessellation surface tolerance.
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 bounday and has any common edges. **polylines[i][j] must be the same direction as the faces's parameter edge.
max_edge_lenMinimum edge length of the rectangles.
mgTL2parameter::mgTL2parameter ( const MGFSurface obj,
const MGDrawParam param,
const std::vector< SHLL_COM_EDGES > *  polylines = 0 
)
引数
objテセレーションするフェイス Must be MGFace or MGSurface.
paramparameter for the tessellation.
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 bounday and has any common edges. **polylines[i][j] must be the same direction as the faces's parameter edge.
mgTL2parameter::mgTL2parameter ( const mgTL2parameter param2)

関数詳解

const std::vector<SHLL_COM_EDGES>* mgTL2parameter::Bpoly ( ) const
inline
int mgTL2parameter::edgPerimLen ( ) const
const MGFace& mgTL2parameter::get_face ( ) const
inline
double mgTL2parameter::get_max_edge_len ( ) const
inline
double mgTL2parameter::get_max_edge_len_sqr ( ) const
inline
const MGSurface& mgTL2parameter::get_surface ( ) const
inline
double mgTL2parameter::get_tess_crvError ( ) const
inline
double mgTL2parameter::get_tess_srfError ( ) const
inline
double mgTL2parameter::get_UError ( ) const
inline
double mgTL2parameter::get_UVError ( ) const
inline
double mgTL2parameter::get_VError ( ) const
inline
mgTL2parameter& mgTL2parameter::operator= ( const mgTL2parameter )

Assignment.

bool mgTL2parameter::target_is_face ( ) const
inline

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

std::ostream& operator<< ( std::ostream &  out,
const mgTL2parameter para 
)
friend

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