HPS::Parasolid::Facet

class HPS::Parasolid::Facet

Public Types

enum Degeneracy

Enumerates the way the Parasolid importer treats degeneracies during tessellation. Corresponds to the PK_face_degen_t struct.

Values:

enumerator MultipleVertices

output multiple vertices at degeneracies

enumerator SingleVertex

output single vertex at degeneracies

enumerator Average

output average parameters at degeneracies

enum Density

Enumerates the way the Parasolid importer can alter facet density during tessellation. Corresponds to the PK_face_density_t struct.

Values:

enumerator ViewIndependent

Density in independent of view.

enumerator Silhouette

Density increased around silhouettes.

enumerator Parallel

Density increased where facet normals are close to parallel with the view.

enumerator SilhouetteAndParallel

Density increased where facet normals are close to parallel with the view and near silhouettes

enum IncrementalFaceting

Enumerates the way the Parasolid importer handles incremental faceting during tessellation. Corresponds to the PK_face_incr_t struct.

Values:

enumerator Off

incremental faceting is not used

enumerator OffNoAttributes

incremental faceting is not used, attributes are deleted

enumerator OffRefreshAttributes

incremental faceting is not used, attributes are deleted and new ones are generated

enumerator On

incremental faceting is used

enum Match

Enumerates the way the Parasolid importer treats facets near neighboring faces during tessellation. Corresponds to the PK_face_match_t struct.

Values:

enumerator Geometrical

Facets meet exactly but are topologically disjoint.

enumerator Topological

Facets meet exactly and have the same topology.

enumerator Trimmed

Facets may overlap or have gaps between them.

enum Shape

Enumerates the way the Parasolid importer treats concave and convex facets during tessellation. Corresponds to the PK_face_shape_t struct.

Values:

enumerator Any

Allow creation of holed or concaved facets.

enumerator Cut

Facets with holes are cut into concave facets.

enumerator Convex

Divide concave facets into convex faces.

class Tolerance

Public Functions

bool Equals(Tolerance const &in_tolerance) const
bool operator!=(Tolerance const &in_tolerance) const
bool operator==(Tolerance const &in_tolerance) const
void ShowTolerance(double &out_curve_chord_tolerance, double &out_curve_chord_maximum_length, double &out_curve_chord_max_angle, double &out_surface_tolerance, double &out_surface_max_angle) const
Tolerance()
Tolerance(double curve_chord_tolerance, double curve_chord_maximum_length, double curve_chord_max_angle, double surface_tolerance, double surface_max_angle)