mgTL2Face is a proprietry class for Face tessellation.
[詳解]
mgTL2Face is a proprietry class for Face tessellation.
- 引数
-
param | parameter for the tessellation. |
face | テセレーションするフェイス |
- 引数
-
param | parameter for the tessellation. |
face | テセレーションするフェイス Must be MGFace or MGSurface. |
polylines | Input 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_len | when max_edge_len<=0, this means no limits on an edge length. |
polylines | Input 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 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.
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).
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const mgTL2Face & |
face |
|
) |
| |
|
friend |
このクラス詳解は次のファイルから抽出されました: