 |
PK_MESH_make_surf_trimmed_o_t |
|
struct PK_MESH_make_surf_trimmed_o_s
{
int o_t_version; --- version number of
--- option structure
double fitting_tolerance;
--- distance tolerance to use when
--- fitting to mesh (1.0e-5)
PK_LOGICAL_t have_bdry_tolerance;
--- whether boundary tolerance is
--- supplied (PK_LOGICAL_false)
double bdry_tolerance; --- optional distance tolerance to use
--- when fitting to the mesh boundary
double bdry_mvertex_angle;
--- angle in radians above which any
--- laminar boundary will be split
--- into separate trimming curves (0.3)
PK_LOGICAL_t fit_normals; --- whether to fit the surface
--- to the mesh vertex normals
--- (PK_LOGICAL_false)
PK_LOGICAL_t have_normal_tolerance;
--- whether normal tolerance is
--- supplied (PK_LOGICAL_false)
double normal_tolerance;
--- optional angular tolerance to use
--- when fitting to the normal vectors
--- at mesh vertices
};
typedef struct PK_MESH_make_surf_trimmed_o_s PK_MESH_make_surf_trimmed_o_t;
This structure contains optional controls for PK_MESH_make_surf_trimmed.
Specific Errors:
PK_ERROR_bad_tolerance (MILD) A bad combination of tolerances
has been given.
Used in:
PK_MESH_make_surf_trimmed
The options provided are:
'fitting_tolerance' The distance tolerance used to approximate the
input mesh. If 'have_bdry_tolerance' is set to
PK_LOGICAL_true, then this should be larger than
the 'bdry_tolerance'. (1.0e-5)
'have_bdry_tolerance' Whether a 'bdry_tolerance' is supplied.
(PK_LOGICAL_false)
'bdry_tolerance' If 'have_bdry_tolerance' is set to
PK_LOGICAL_true, this specifies the distance
tolerance to be used for the boundary of the
supplied mesh. The value should be smaller
than the 'fitting_tolerance'.
'bdry_mvertex_angle' This option controls how the laminar boundary of the
'mesh' is approximated by trimming curves.
Separate trimming curves will be created either side
of an mvertex where the angle between adjacent
laminar mfins exceeds the 'bdry_mvertex_angle'. (0.3)
'fit_normals' Whether the resulting surface should have
normals which conform to the vertex normals of
the input mesh. (PK_LOGICAL_false)
'have_normal_tolerance' Whether a 'normal_tolerance' is supplied for
conforming to mesh vertex normals. If
'have_normal_tolerance' is set to
PK_LOGICAL_false, Parasolid will choose an
appropriate value.
(PK_LOGICAL_false)
'normal_tolerance' If 'have_normal_tolerance' is set to
PK_LOGICAL_true, this specifies the angular
tolerance to use for fitting to mesh
vertex normals.
If 'have_normal_tolerance' is set to
PK_LOGICAL_true, 'normal_tolerance' must be
set to a positive value.