Synopsis
PDX_MSGT gdx_FaceToCurveMesh(long option, MDA_PTR gdx_face_ptr, int model, double devtol, long maxits, int fitdeg, int num_u_mesh, int num_v_mesh, MDA_PTR *gdx_cm_ptr, MDA_PTR *gdx_surf_ptr)
Purpose
Approximate a Face eneity as a Curve Mesh entity
Description
This function preare the face to pass in the Face approximation core function. If the base surface is closed, the function closes the gap in parameter space. Then remove the seam crossing. Removing seam craossing may result in rotating base surface. This function also make sure the parm curve exist for the core function.
Input
option
Not
Used
gdx_face_ptr
A GDX Face data base pointer
model
Destination model
devtol
The deviation of the model space image of P(s) from the projection of M(t) should not be greater than devtol. This tolerance should be larger than MODEL_SPACE_PNT_TOL, at least by 1 to 2 orders of magnitude.
maxits
Maximum number of iterations. Iteration will be stopped if this number is exceeded.
fitdeg
Degree used for fitting. See option GDX_FITDEGMAX above.
num_u_mesh
Number of mesh in u direction
num_v_mesh
Number of mesh in v direction
Output
gdx_cm_ptr
A GDX curve_mesh data base pointer
gdx_surf_ptr
A GDX surface data base pointer. Optionaly, if the NULL is passed in, the copied surface is not returned.
Return
GEA_NOERR
.fi