Parasolid
- class HPS.Parasolid : public IDisposable
The Parasolid class contains objects and enumerations used for importing and exporting CAD files via Parasolid.
Public Types
- enum CompoundBodyBehavior
Enumerates the behaviors the Parasolid importer can assume when encountering compound bodies.
Values:
- Split
Split compound bodies into simple bodies.
- Keep
Import compound bodies as-is.
- Fail
Fail when encountering a compound body.
- enum Ignore
Enumerates the way the Parasolid importer chooses which facets or lines to ignore during tessellation. Corresponds to the PK_face_ignore_t struct.
Values:
- Absolute
specify an absolute value
- FeatureToModelRatio
specify ratio of feature to model box
- FeatureToBodyRatio
specify ratio of feature to body box
- enum MismatchBehavior
Enumerates the behaviors the Parasolid importer can assume when encountering attribute mismatches.
Values:
- Ignore
Ignore attribute mismatches.
- Fail
Fail on attribute mismatch.
- enum TessellationLevel
Enumerates predefined tessellation levels used to import Parasolid files.
Values:
- ExtraLow
Extra Low tessellation setting.
- Low
Low tessellation setting.
- Medium
Medium tessellation setting.
- High
High tessellation setting.
- ExtraHigh
Extra High tessellation setting.
- Custom
Custom tessellation setting. Chord and Angle values will need to be specified.
- class CADModel : public HPS.CADModel
The CADModel class is a smart pointer. It is an abstract concept symbolizing the root of the Parasolid import. It is not related to any Parasolid object.
Public Functions
- HPS.Component AddEntity (int in_entity_to_add, HPS.Parasolid.FacetTessellationKit in_facet_tessellation, HPS.Parasolid.LineTessellationKit in_line_tessellation)
Renders the entity specified, according to the tessellation options provided. Only entities of type PK_CLASS_assembly and PK_CLASS_body can be used with this function.
- Param in_entity_to_add
The Parasolid entity to import into HPS.
- Param in_facet_tessellation
The facet tessellation parameters used during import.
- Param in_line_tessellation
The line tessellation parameters used during import.
- Return
The component created as part of the import of the provided entity.
- HPS.Component AddEntity (int in_entity_to_add, HPS.Parasolid.FacetTessellationKit in_facet_tessellation, HPS.Parasolid.LineTessellationKit in_line_tessellation, HPS.Component in_owner)
Renders the entity specified, according to the tessellation options provided. Only entities of type PK_CLASS_assembly and PK_CLASS_body can be used with this function.
- Param in_entity_to_add
The Parasolid entity to import into HPS.
- Param in_facet_tessellation
The facet tessellation parameters used during import.
- Param in_line_tessellation
The line tessellation parameters used during import.
- Param in_owner
The component owning which will own the imported entity
- Return
The component created as part of the import of the provided entity.
- CADModel ()
The default constructor creates an uninitialized CADModel object. The Type() function will return Type.None.
- CADModel (HPS.CADModel in_that)
This constructor creates a Parasolid.CADModel object that shares the underlying smart-pointer of the source HPS.CADModel.
The copy will only be successful if the source component is really an upcast of a Parasolid.CADModel object. Otherwise the copy will fail and the resulting Parasolid.CADModel will be invalid.
- Param in_that
The source HPS.CADModel to copy.
- CADModel (HPS.Component in_that)
This constructor creates a CADModel object that shares the underlying smart-pointer of the source Component.
The copy will only be successful if the source component is really an upcast of a Parasolid.CADModel object. Otherwise the copy will fail and the resulting Parasolid.CADModel will be invalid.
- Param in_that
The source Component to copy.
- CADModel (HPS.Parasolid.CADModel in_that)
This constructor creates a Parasolid.CADModel object that shares the underlying smart-pointer of the source HPS.CADModel.
The copy will only be successful if the source component is really an upcast of a Parasolid.CADModel object. Otherwise the copy will fail and the resulting Parasolid.CADModel will be invalid.
- Param in_that
The source HPS.CADModel to copy.
- override void Dispose ()
- HPS.Component GetComponentFromEntity (int in_entity)
Returns the Component associated with the provided entity.
- override HPS.Type ObjectType ()
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Return
The declared type of the object in question, which may differ from the true, underlying type.
- void Tessellate (HPS.Parasolid.FacetTessellationKit in_facet_options, HPS.Parasolid.LineTessellationKit in_line_options)
Re-tessellate the given CADModel with the provided options.
- class Component : public HPS.Component
The Component class is a smart pointer. It represents a variety of Parasolid components.
The primary purpose of this class is simply to provide access to the underlying ParasolidEntity object for use by Parasolid library functions.
Public Functions
- bool AddTransform (HPS.MatrixKit in_transform)
Appends a transform to the underlying Parasolid data associated with this component. Only components of type ParasolidAssembly, ParasolidInstance and ParasolidTopoBody can have transforms applied to them. Additionally, only transformations which are rigid motions can be applied. Calling AddTransform with a transform which is not a rigid motion, such as a shear, will cause the function to fail.
- Param in_transform
The transform to apply to this component.
- Return
true if transform was applied correctly, false otherwise.
- Component ()
The default constructor creates an uninitialized Parasolid.Component object. The Type() function will return Type.None.
- Component (HPS.Component in_that)
This constructor creates an Parasolid.Component object that shares the underlying smart-pointer of the source Component. The copy will only be successful if the source component is really an upcast of a Parasolid.Component object. Otherwise the copy will fail and the resulting Parasolid.Component will be invalid.
- Param in_that
The source Component to copy.
- Component (HPS.Parasolid.Component in_that)
This constructor creates an Parasolid.Component object that shares the underlying smart-pointer of the source Component. The copy will only be successful if the source component is really an upcast of a Parasolid.Component object. Otherwise the copy will fail and the resulting Parasolid.Component will be invalid.
- Param in_that
The source Component to copy.
- override void Dispose ()
- int GetParasolidEntity ()
Gets the ParasolidEntity object corresponding to this ParasolidComponent.
- Return
The ParasolidEntity object corresponding to this ParasolidComponent.
- override HPS.Type ObjectType ()
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Return
The declared type of the object in question, which may differ from the true, underlying type.
- bool SetTransform (HPS.MatrixKit in_transform)
Applies a transform to the underlying Parasolid data associated with this component, replacing any transform currently set on it. Only components of type ParasolidAssembly, ParasolidInstance and ParasolidTopoBody can have transforms applied to them. Additionally, only transformations which are rigid motions can be applied. Calling SetTransform with a transform which is not a rigid motion, such as a shear, will cause the function to fail.
- Param in_transform
The transform to apply to this component.
- Return
true if transform was applied correctly, false otherwise.
- void Tessellate (HPS.Parasolid.FacetTessellationKit in_facet_options, HPS.Parasolid.LineTessellationKit in_line_options)
Re-tessellate the given Component with the provided options.
Tessellation can only occur at the body, instance or assembly level, so calling this function on Component objects below that level will have no effect.
- class ExportOptionsKit : public HPS.SprocketKit
The ExportOptionsKit class is a user space object. It contains settings controlling what and how data is exported via Parasolid. Default values for the various fields of this class can be found here.
Public Functions
- override void Dispose ()
- override bool Empty ()
Indicates whether this ExportOptionsKit has any values set on it.
- Return
true if no values are set on this ExportOptionsKit, false otherwise.
- bool Equals (HPS.Parasolid.ExportOptionsKit in_kit)
Check if the source ExportOptionsKit is equivalent to this ExportOptionsKit.
- Param in_kit
The source ExportOptionsKit to compare to this ExportOptionsKit.
- Return
true if the objects are equivalent, false otherwise.
- override bool Equals (Object obj)
- ExportOptionsKit ()
The default constructor creates an empty ExportOptionsKit object.
- ExportOptionsKit (HPS.Parasolid.ExportOptionsKit in_kit)
The copy constructor creates a new ExportOptionsKit object that contains the same settings as the source ExportOptionsKit.
- Param in_kit
The source ExportOptionsKit to copy.
- override int GetHashCode ()
- override HPS.Type ObjectType ()
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Return
The declared type of the object in question, which may differ from the true, underlying type.
- void Set (HPS.Parasolid.ExportOptionsKit in_kit)
Copies the source ExportOptionsKit into this ExportOptionsKit.
- Param in_kit
The source ExportOptionsKit to copy.
- HPS.Parasolid.ExportOptionsKit SetFormat (HPS.Parasolid.Format in_format)
Sets the format type to be exported.
This corresponds to the value that will be passed to PK_PART_transmit_o_t.transmit_format.
- See
Default value
- Param in_format
The format of the file to be exported.
- Return
A reference to this ExportOptionsKit.
- HPS.Parasolid.ExportOptionsKit SetUserFields (bool in_export_user_fields)
Sets whether to export user fields from the CAD file.
This corresponds to the value that will be passed to PK_PART_transmit_o_t.receive_user_fields.
- Param in_export_user_fields
Whether to export user fields from the CAD file.
- Return
A reference to this ExportOptionsKit.
- void Show (out HPS.Parasolid.ExportOptionsKit out_kit)
Copies this ExportOptionsKit into the given ExportOptionsKit.
- Param out_kit
The ExportOptionsKit to populate with the contents of this ExportOptionsKit.
- bool ShowFormat (out HPS.Parasolid.Format out_format)
Shows the format export setting.
- Param out_format
The format setting for this export.
- Return
true if a format setting was specified, false otherwise.
- bool ShowUserFields (out bool out_user_fields)
Shows the user fields export setting.
- Param out_user_fields
The user fields setting for this export.
- Return
true if a user fields setting was specified, false otherwise.
- HPS.Parasolid.ExportOptionsKit UnsetEverything ()
Removes all settings from this ExportOptionsKit.
- Return
A reference to this ExportOptionsKit.
- HPS.Parasolid.ExportOptionsKit UnsetFormat ()
Removes the format export state.
- Return
A reference to this ExportOptionsKit.
- HPS.Parasolid.ExportOptionsKit UnsetUserFields ()
Removes the user fields export state.
- Return
A reference to this ExportOptionsKit.
Public Static Functions
- HPS.Parasolid.ExportOptionsKit GetDefault ()
Creates an ExportOptionsKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default. These values will be used for import unless an option is overridden by the options passed to File.Export.
- Return
An ExportOptionsKit with the default settings.
- bool operator!= (HPS.Parasolid.ExportOptionsKit a, HPS.Parasolid.ExportOptionsKit b)
- bool operator== (HPS.Parasolid.ExportOptionsKit a, HPS.Parasolid.ExportOptionsKit b)
- class Facet
Public Types
- enum Degeneracy
Enumerates the way the Parasolid importer treats degeneracies during tessellation. Corresponds to the PK_face_degen_t struct.
Values:
- MultipleVertices
output multiple vertices at degeneracies
- SingleVertex
output single vertex at degeneracies
- 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:
- ViewIndependent
Density in independent of view.
- Silhouette
Density increased around silhouettes.
- Parallel
Density increased where facet normals are close to parallel with the view.
- 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:
- Off
incremental faceting is not used
- OffNoAttributes
incremental faceting is not used, attributes are deleted
- OffRefreshAttributes
incremental faceting is not used, attributes are deleted and new ones are generated
- 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:
- Geometrical
Facets meet exactly but are topologically disjoint.
- Topological
Facets meet exactly and have the same topology.
- 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:
- Any
Allow creation of holed or concaved facets.
- Cut
Facets with holes are cut into concave facets.
- Convex
Divide concave facets into convex faces.
- class Tolerance : public IDisposable
Public Functions
- void Dispose ()
- bool Equals (HPS.Parasolid.Facet.Tolerance in_tolerance)
- override bool Equals (Object obj)
- override int GetHashCode ()
- void ShowTolerance (out double out_curve_chord_tolerance, out double out_curve_chord_maximum_length, out double out_curve_chord_max_angle, out double out_surface_tolerance, out double out_surface_max_angle)
- Tolerance ()
- Tolerance (double curve_chord_tolerance, double curve_chord_maximum_length, double curve_chord_max_angle, double surface_tolerance, double surface_max_angle)
- Tolerance (HPS.Parasolid.Facet.Tolerance in_that)
Public Static Functions
- bool operator!= (HPS.Parasolid.Facet.Tolerance a, HPS.Parasolid.Facet.Tolerance b)
- bool operator== (HPS.Parasolid.Facet.Tolerance a, HPS.Parasolid.Facet.Tolerance b)
- class FacetTessellationKit : public HPS.SprocketKit
The FacetTessellationKit class is a user space object. It contains settings controlling facet tessellation for Parasolid. It corresponds to the PK_TOPOL_render_facet_o_t struct.
Public Functions
- override void Dispose ()
- override bool Empty ()
Indicates whether this FacetTessellationKit has any values set on it.
- Return
true if no values are set on this FacetTessellationKit, false otherwise.
- bool Equals (HPS.Parasolid.FacetTessellationKit in_kit)
Check if the source FacetTessellationKit is equivalent to this FacetTessellationKit.
- Param in_kit
The source FacetTessellationKit to compare to this FacetTessellationKit.
- Return
true if the objects are equivalent, false otherwise.
- override bool Equals (Object obj)
- FacetTessellationKit ()
The default constructor creates an empty FacetTessellationKit object.
- FacetTessellationKit (HPS.Parasolid.FacetTessellationKit in_kit)
The copy constructor creates a new FacetTessellationKit object that contains the same settings as the source FacetTessellationKit.
- Param in_kit
The source FacetTessellationKit to copy.
- override int GetHashCode ()
- override HPS.Type ObjectType ()
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Return
The declared type of the object in question, which may differ from the true, underlying type.
- void Set (HPS.Parasolid.FacetTessellationKit in_kit)
Copies the source FacetTessellationKit into this FacetTessellationKit.
- Param in_kit
The source FacetTessellationKit to copy.
- HPS.Parasolid.FacetTessellationKit SetChordTolerance (double in_chord_tolerance, double in_maximum_chord_length, double in_maximum_chord_angle)
Sets chord tolerance.
- Param in_chord_tolerance
curve chordal tolerance between a curve and its facet edges. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.curve_chord_tol.
- Param in_maximum_chord_length
maximum chord length. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.curve_chord_max.
- Param in_maximum_chord_angle
maximum chord angle, in radians. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.curve_chord_ang.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetDegeneracyBehavior (HPS.Parasolid.Facet.Degeneracy in_degeneracy_behavior)
Sets the behavior the import assumes during tessellation when encountering a degeneracy.
- Param in_degeneracy_behavior
describes how vertices are handled at degeneracies. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.degen.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetDensity (HPS.Parasolid.Facet.Density in_density)
Sets the density settings.
- Param in_density
The density settings. This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.density.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetDensity (HPS.Parasolid.Facet.Density in_density, double in_density_tolerance)
Sets the density settings.
- Param in_density
The density settings. This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.density.
- Param in_density_tolerance
The density tolerance. Must be specified is in_density is not ViewIndependent. This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.local_density_tol.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetDensity (HPS.Parasolid.Facet.Density in_density, double in_density_tolerance, double in_density_max_angle)
Sets the density settings.
- Param in_density
The density settings. This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.density.
- Param in_density_tolerance
The density tolerance. Must be specified is in_density is not ViewIndependent. This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.local_density_tol.
- Param in_density_max_angle
The density tolerance maximum angle. This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.local_density_ang.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetDensity (HPS.Parasolid.Facet.Density in_density, double in_density_tolerance, double in_density_max_angle, HPS.DVector[] in_view_directions)
Sets the density settings.
- Param in_density
The density settings. This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.density.
- Param in_density_tolerance
The density tolerance. Must be specified is in_density is not ViewIndependent. This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.local_density_tol.
- Param in_density_max_angle
The density tolerance maximum angle. This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.local_density_ang.
- Param in_view_directions
An array of view directions. Must be specified is in_density is not ViewIndependent. This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.view_directions.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetEdges (bool in_edges)
Sets whether to output edges.
- Param in_edges
whether to output edges. Corresponds to the value that will be passed to PK_TOPOL_render_facet_go_o_t.go_edges.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetFacetPlaneTolerance (double in_plane_tolerance, double in_max_plane_angle)
Sets tolerance between facet and mid-plane.
- Param in_plane_tolerance
distance tolerance between facet and mid-plane. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.facet_plane_tol.
- Param in_max_plane_angle
angular tolerance between facet and mid-plane, in radians. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.facet_plane_ang.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetFacetSize (double in_minimum_width, double in_maximum_width, int in_maximum_sides)
Sets face size constraints.
- Param in_minimum_width
minimum facet width. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.min_facet_width.
- Param in_maximum_width
minimum facet width. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.max_facet_width.
- Param in_maximum_sides
maximum facet sides. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.max_facet_sides.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetFlattenVertices (bool in_flatten_vertices)
Sets whether vertices should be forced against tolerance edges.
- Param in_flatten_vertices
whether vertices should be forced against tolerance edges. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.vertices_on_planar.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetIgnoreCriteria (bool in_ignore)
Sets criteria for ignoring facets.
- Param in_ignore
whether any facet should be ignored.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetIgnoreCriteria (bool in_ignore, HPS.Parasolid.Ignore in_ignore_criteria)
Sets criteria for ignoring facets.
- Param in_ignore
whether any facet should be ignored.
- Param in_ignore_criteria
specifies how to interpret the minimum_value parameter. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.ignore.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetIgnoreCriteria (bool in_ignore, HPS.Parasolid.Ignore in_ignore_criteria, double in_minimum_value)
Sets criteria for ignoring facets.
- Param in_ignore
whether any facet should be ignored.
- Param in_ignore_criteria
specifies how to interpret the minimum_value parameter. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.ignore.
- Param in_minimum_value
minimum value for a facet not to be ignored. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.ignore_value.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetIgnoreCriteria (bool in_ignore, HPS.Parasolid.Ignore in_ignore_criteria, double in_minimum_value, bool in_treat_faces_individually)
Sets criteria for ignoring facets.
- Param in_ignore
whether any facet should be ignored.
- Param in_ignore_criteria
specifies how to interpret the minimum_value parameter. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.ignore.
- Param in_minimum_value
minimum value for a facet not to be ignored. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.ignore_value.
- Param in_treat_faces_individually
whether facets should be considered individually or as part of the face’s owning body for ignore calculations. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.ignore_scope.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetIgnoredLoops (int[] in_ignored_loops)
Sets which loops should be ignored while faceting. This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.loops.
- Param in_ignored_loops
loops ignored during faceting. Each entry in the vector correspond to a PK_LOOP_t object
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetImprovedFacetQuality (bool in_improved_quality)
Sets whether extra checks should be performed to improve the quality of facets.
- Param in_improved_quality
whether extra checks should be performed to improve the quality of facets. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.quality.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetIncrementalFaceting (HPS.Parasolid.Facet.IncrementalFaceting in_faceting)
Sets whether incremental faceting should be used.
- Param in_faceting
sets the incremental faceting behavior. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.incremental_facetting.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetIncrementalFaceting (HPS.Parasolid.Facet.IncrementalFaceting in_faceting, bool refine_tessellation)
Sets whether incremental faceting should be used.
- Param in_faceting
sets the incremental faceting behavior. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.incremental_facetting.
- Param refine_tessellation
whether to refine facets. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.incremental_refinement.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetInflection (bool in_refine)
Sets whether facets around points of inflections may be further refined.
- Param in_refine
whether facets around points of inflections may be further refined. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.inflect.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetLocalTolerances (HPS.Parasolid.Facet.Tolerance[] in_tolerance_array, int[] in_topology_array, int[] in_tolerance_for_tolopoly)
Sets specific tolerances for a set of topologies.
- Param in_tolerance_array
array of tolerance specifications. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.local_tols.
- Param in_topology_array
array of topologies for which a specific tolerance will be applied. Each entry in the vector correspond to a PK_TOPOL_t object. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.topols_with_local_tols.
- Param in_tolerance_for_tolopoly
indexes connecting each element of the topology array to a tolerance. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.local_tols_for_topols.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetNormals (bool in_normals)
Sets whether to output surface normals.
- Param in_normals
whether to output surface normals. Corresponds to the value that will be passed to PK_TOPOL_render_facet_go_o_t.go_normals.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetOffsetFaces (bool in_offset_faces)
Sets whether to take into account faces which are offsets of one another.
- Param in_offset_faces
whether to take into account faces which are offsets of one another. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.respect_offset.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetParameters (bool in_parameters)
Sets whether to output surface parameters.
- Param in_parameters
whether to output surface parameters. Corresponds to the value that will be passed to PK_TOPOL_render_facet_go_o_t.go_parameters.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetShapeGeneration (HPS.Parasolid.Facet.Shape in_shape)
Sets constraints on the facet generation.
This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.shape.
- Param in_shape
The behavior used during tessellation for handling concave, convex and holed entities.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetStrips (bool in_strips, int in_max_facets_per_strip, bool in_split_strips)
Sets output settings for strips
- Param in_strips
whether to output facets in strips. Corresponds to the value that will be passed to PK_TOPOL_render_facet_go_o_t.go_strips.
- Param in_max_facets_per_strip
maximum number of facets per strips. Corresponds to the value that will be passed to PK_TOPOL_render_facet_go_o_t.go_max_facets_per_strip.
- Param in_split_strips
whether to split facet strips. Corresponds to the value that will be passed to PK_TOPOL_render_facet_go_o_t.split_strips.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetSurfacePlaneTolerance (double in_plane_tolerance, double in_max_plane_angle)
Sets tolerance between surfaces and corresponding facets.
- Param in_plane_tolerance
distance tolerance between surface and its facet. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.surface_plane_tol.
- Param in_max_plane_angle
angular tolerance between surface and its facet, in radians. Corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.surface_plane_ang.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetTessellationLevel (HPS.Parasolid.TessellationLevel in_tessellation_level)
Sets facet tessellation level.
This function can optionally compute the best values for line tessellation based on the values passed in. Doing so is enabled by default and will result in lines which smoothly match their respective faces.
- Param in_tessellation_level
The tessellation level used for importing facets.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetTessellationLevel (HPS.Parasolid.TessellationLevel in_tessellation_level, double in_chord)
Sets facet tessellation level.
This function can optionally compute the best values for line tessellation based on the values passed in. Doing so is enabled by default and will result in lines which smoothly match their respective faces.
- Param in_tessellation_level
The tessellation level used for importing facets.
- Param in_chord
The chord tolerance. Only considered if in_tessellation_level is set to Custom.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetTessellationLevel (HPS.Parasolid.TessellationLevel in_tessellation_level, double in_chord, double in_angle)
Sets facet tessellation level.
This function can optionally compute the best values for line tessellation based on the values passed in. Doing so is enabled by default and will result in lines which smoothly match their respective faces.
- Param in_tessellation_level
The tessellation level used for importing facets.
- Param in_chord
The chord tolerance. Only considered if in_tessellation_level is set to Custom.
- Param in_angle
The angle tolerance. Only considered if in_tessellation_level is set to Custom.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetTessellationLevel (HPS.Parasolid.TessellationLevel in_tessellation_level, double in_chord, double in_angle, bool in_generate_line_tessellation)
Sets facet tessellation level.
This function can optionally compute the best values for line tessellation based on the values passed in. Doing so is enabled by default and will result in lines which smoothly match their respective faces.
- Param in_tessellation_level
The tessellation level used for importing facets.
- Param in_chord
The chord tolerance. Only considered if in_tessellation_level is set to Custom.
- Param in_angle
The angle tolerance. Only considered if in_tessellation_level is set to Custom.
- Param in_generate_line_tessellation
Automatically figure out the best parameters for line tessellation based on facet tessellation levels. True by default.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetVertexMatching (HPS.Parasolid.Facet.Match in_vertex_matching)
Sets the vertex matching strategy at edges This corresponds to the value that will be passed to PK_TOPOL_facet_mesh_o_t.match.
- Param in_vertex_matching
The behavior used during tessellation for handling facet meshes between neighboring faces.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit SetWireEdges (bool in_wire_edges)
Sets whether wire edges should be taken into account while faceting.
- Return
A reference to this FacetTessellationKit.
- void Show (out HPS.Parasolid.FacetTessellationKit out_kit)
Copies this FacetTessellationKit into the given FacetTessellationKit.
- Param out_kit
The FacetTessellationKit to populate with the contents of this FacetTessellationKit.
- bool ShowChordTolerance (out double out_chord_tolerance, out double out_maximum_chord_length, out double out_maximum_chord_angle)
Shows the chord tolerance tessellation setting.
- Param out_chord_tolerance
The tolerance setting for this kit.
- Param out_maximum_chord_length
The maximum chord length setting for this kit.
- Param out_maximum_chord_angle
The maximum chord angle setting for this kit.
- Return
true if a chord tolerance setting was specified, false otherwise.
- bool ShowDegeneracyBehavior (out HPS.Parasolid.Facet.Degeneracy out_degeneracy_behavior)
Shows the degeneracy tessellation setting.
- Param out_degeneracy_behavior
The degeneracy setting for this kit.
- Return
true if a degeneracy setting was specified, false otherwise.
- bool ShowDensity (out HPS.Parasolid.Facet.Density out_density, out double out_density_tolerance, out double out_density_max_angle, out HPS.DVector[] out_view_directions)
Shows the density tessellation setting.
- Param out_density
The density setting for this kit.
- Param out_density_tolerance
The density tolerance.
- Param out_density_max_angle
The density tolerance maximum angle.
- Param out_view_directions
An array of view directions.
- Return
true if a density setting was specified, false otherwise.
- bool ShowEdges (out bool out_edges)
Shows the edges tessellation setting.
- Param out_edges
The edges setting for this kit.
- Return
true if a edges setting was specified, false otherwise.
- bool ShowFacetPlaneTolerance (out double out_plane_tolerance, out double out_max_plane_angle)
Shows the facet plane tolerance tessellation setting.
- Param out_plane_tolerance
The tolerance setting for this kit.
- Param out_max_plane_angle
The maximum angle setting for this kit.
- Return
true if a facet plane tolerance setting was specified, false otherwise.
- bool ShowFacetSize (out double out_minimum_width, out double out_maximum_width, out int out_maximum_sides)
Shows the facet size tessellation setting.
- Param out_minimum_width
The minimum facet width setting for this kit.
- Param out_maximum_width
The maximum facet width setting for this kit.
- Param out_maximum_sides
The maximum facet side setting for this kit.
- Return
true if a facet size setting was specified, false otherwise.
- bool ShowFlattenVertices (out bool out_flatten_vertices)
Shows the flatten faces tessellation setting.
- Param out_flatten_vertices
The flatten faces setting for this kit.
- Return
true if a flatten faces setting was specified, false otherwise.
- bool ShowIgnoreCriteria (out bool out_ignore, out HPS.Parasolid.Ignore out_ignore_criteria, out double out_minimum_value, out bool out_treat_faces_individually)
Shows the ignore criteria tessellation setting.
- Param out_ignore
Whether facets are ignored in this kit. If this is false the other parameters are meaningless.
- Param out_ignore_criteria
The ignore criteria setting for this kit. Meaningless if out_ignore is false.
- Param out_minimum_value
The minimum value for ignoring a facet for this kit. Meaningless if out_ignore is false.
- Param out_treat_faces_individually
Whether faces are considered individually when deciding if they should be ignored. Meaningless if out_ignore is false.
- Return
true if a ignore criteria were specified, false otherwise.
- bool ShowIgnoredLoops (out int[] out_ignored_loops)
Shows the ignored loops tessellation setting.
- Param out_ignored_loops
The ignored loops setting for this kit.
- Return
true if a ignored loops setting was specified, false otherwise.
- bool ShowImprovedFacetQuality (out bool out_improved_quality)
Shows the improved facet quality tessellation setting.
- Param out_improved_quality
The out_improved_quality setting for this kit.
- Return
true if a improved facet quality setting was specified, false otherwise.
- bool ShowIncrementalFaceting (out HPS.Parasolid.Facet.IncrementalFaceting out_faceting, out bool out_refine_tessellation)
Shows the incremental faceting tessellation setting.
- Param out_faceting
The incremental faceting setting for this kit.
- Param out_refine_tessellation
Whether facets are refined setting for this kit.
- Return
true if an incremental faceting setting was specified, false otherwise.
- bool ShowInflection (out bool out_refine)
Shows the inflection tessellation setting.
- Param out_refine
The inflection setting for this kit.
- Return
true if a inflection setting was specified, false otherwise.
- bool ShowLocalTolerances (out HPS.Parasolid.Facet.Tolerance[] out_tolerance_array, out int[] out_topology_array, out int[] out_tolerance_for_tolopoly)
Shows the local tolerance tessellation setting.
- Param out_tolerance_array
The local tolerance array for this kit.
- Param out_topology_array
The topology array for this kit.
- Param out_tolerance_for_tolopoly
The index array for this kit.
- Return
true if a local tolerance setting was specified, false otherwise.
- bool ShowNormals (out bool out_normals)
Shows the normals tessellation setting.
- Param out_normals
The normals setting for this kit.
- Return
true if a normals setting was specified, false otherwise.
- bool ShowOffsetFaces (out bool out_offset_faces)
Shows the offset faces tessellation setting.
- Param out_offset_faces
The offset faces setting for this kit.
- Return
true if a offset faces setting was specified, false otherwise.
- bool ShowParameters (out bool out_parameters)
Shows the parameters tessellation setting.
- Param out_parameters
The parameters setting for this kit.
- Return
true if a parameters setting was specified, false otherwise.
- bool ShowShapeGeneration (out HPS.Parasolid.Facet.Shape out_shape)
Shows the shape generation tessellation setting.
- Param out_shape
The shape generation setting for this kit.
- Return
true if a shape generation setting was specified, false otherwise.
- bool ShowStrips (out bool out_strips, out int out_max_facets_per_strip, out bool out_split_strips)
Shows the strips tessellation setting.
- Param out_strips
The strips setting for this kit.
- Param out_max_facets_per_strip
The maximum number of facet per strip setting for this kit.
- Param out_split_strips
Whether strips can be split for this kit.
- Return
true if a strips setting was specified, false otherwise.
- bool ShowSurfacePlaneTolerance (out double out_plane_tolerance, out double out_max_plane_angle)
Shows the surface plane tolerance tessellation setting.
- Param out_plane_tolerance
The tolerance setting for this kit.
- Param out_max_plane_angle
The maximum angle setting for this kit.
- Return
true if a surface plane tolerance setting was specified, false otherwise.
- bool ShowTessellationLevel (out HPS.Parasolid.TessellationLevel out_tessellation_level, out double out_chord, out double out_angle, out bool out_generate_line_tessellation)
Shows the shape generation tessellation setting.
- Param out_tessellation_level
The tessellation level used for this import
- Param out_chord
The chord tolerance. Only relevant if out_tessellation_level is Custom.
- Param out_angle
The angle tolerance. Only relevant if out_tessellation_level is Custom.
- Param out_generate_line_tessellation
Whether line tessellation levels are automatically generated based on facet tessellation level.
- Return
true if a shape generation setting was specified, false otherwise.
- bool ShowVertexMatching (out HPS.Parasolid.Facet.Match out_vertex_matching)
Shows the vertex matching tessellation setting.
- Param out_vertex_matching
The vertex matching tessellation setting for this kit.
- Return
true if a vertex matching tessellation setting was specified, false otherwise.
- bool ShowWireEdges (out bool out_wire_edges)
Shows the wire edges tessellation setting.
- Param out_wire_edges
The wire edge setting for this kit.
- Return
true if a wire edge setting was specified, false otherwise.
- HPS.Parasolid.FacetTessellationKit UnsetChordTolerance ()
Removes the chord tolerance tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetDegeneracyBehavior ()
Removes the degeneracy tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetDensity ()
Removes the density tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetEdges ()
Removes the edges tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetEverything ()
Removes all settings from this FacetTessellationKit.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetFacetPlaneTolerance ()
Removes the facet plane tolerance tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetFacetSize ()
Removes the facet size tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetFlattenVertices ()
Removes the vertex flattening tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetIgnoreCriteria ()
Removes the ignore criteria tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetIgnoredLoops ()
Removes the ignored loops tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetImprovedFacetQuality ()
Removes the facet quality tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetIncrementalFaceting ()
Removes the incremental faceting tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetInflection ()
Removes the inflection tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetLocalTolerances ()
Removes the local tolerances tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetNormals ()
Removes the normals tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetOffsetFaces ()
Removes the offset faces tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetParameters ()
Removes the parameters tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetShapeGeneration ()
Removes the shape generation tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetStrips ()
Removes the strip tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetSurfacePlaneTolerance ()
Removes the plane tolerance tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetTessellationLevel ()
Removes the tessellation level state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetVertexMatching ()
Removes the vertex matching tessellation state.
- Return
A reference to this FacetTessellationKit.
- HPS.Parasolid.FacetTessellationKit UnsetWireEdges ()
Removes the wire edges tessellation state.
- Return
A reference to this FacetTessellationKit.
Public Static Functions
- HPS.Parasolid.FacetTessellationKit GetDefault ()
Creates an FacetTessellationKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default. These values will be used for facet tessellation unless an option is overridden by the options passed to File.Import.
- Return
An FacetTessellationKit with the default settings.
- bool operator!= (HPS.Parasolid.FacetTessellationKit a, HPS.Parasolid.FacetTessellationKit b)
- bool operator== (HPS.Parasolid.FacetTessellationKit a, HPS.Parasolid.FacetTessellationKit b)
- class Factory : public HPS.Sprocket
The Factory class is used to create Parasolid objects which inherit from HPS.Component or one of its subclasses.
Public Static Functions
- HPS.Parasolid.CADModel CreateCADModel ()
Creates a new Parasolid.CADModel.
- HPS.Parasolid.CADModel CreateCADModel (HPS.Model in_model)
Creates a new Parasolid.CADModel.
- Param in_model
The Model associated with the Parasolid.CADModel.
- HPS.Parasolid.Component CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type)
Creates a new Parasolid.Component as a subcomponent of a given Component.
- Param in_owner
The HPS.Component which owns the newly created Parasolid.Component.
- Param in_type
The type of Parasolid.Component to create.
- HPS.Parasolid.Component CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type, int in_entity)
Creates a new Parasolid.Component as a subcomponent of a given Component.
- Param in_owner
The HPS.Component which owns the newly created Parasolid.Component.
- Param in_type
The type of Parasolid.Component to create.
- Param in_entity
The Parasolid entity associated with the newly created Parasolid.Component.
- HPS.Parasolid.Component DeInstanceComponent (HPS.ComponentPath in_component_path)
Returns the component at whose level changes can be made without influencing other instances of the same component. For Parasolid components this function is only meaningful when in_component_path contains at least one component of type ParasolidInstance or ParasolidTopoBody. If none of these types are present in in_component_path a warning will be logged and an empty component will be returned.
- Param in_component_path
The ComponentPath to operate on.
- Return
The newly de-instanced Component.
- class File : public IDisposable
The File class provides functions to import and export CAD files via the Parasolid interface.
Public Static Functions
- void Export (HPS.Parasolid.CADModel in_cad_model, string in_file_name, HPS.Parasolid.ExportOptionsKit in_options)
Performs a synchronous export of the given CADModel with the provided options to a given filename. An exception will be thrown if a problem is encountered during export.
- Param in_cad_model
The CADModel containing the data to export. This CADModel must have come from a CAD file imported via Parasolid, if it did not, the export will not succeed.
- Param in_file_name
The name of the file to write the Parasolid data to.
- Param in_options
The options controlling the export of the Parasolid data.
- HPS.Parasolid.ImportNotifier Import (int[] in_parts, HPS.Parasolid.FacetTessellationKit in_facet_options, HPS.Parasolid.LineTessellationKit in_line_options)
Performs an asynchronous import of the specified entities. May throw an IOException prior to starting the asynchronous import.
- Param in_parts
An array of PK_PART_t entities to import.
- Param in_facet_options
The options controlling the import of facets in the CAD file.
- Param in_line_options
The options controlling the import of lines in the CAD file.
- Return
An ImportNotfier object that can be used to query the import progress and status.
- HPS.Parasolid.ImportNotifier Import (string in_file_name, HPS.Parasolid.ImportOptionsKit in_options)
Performs an asynchronous import of the specified CAD file with the provided options. May throw an IOException prior to starting the asynchronous import.
- Param in_file_name
The name of the CAD file to import.
- Param in_options
The options controlling the import of the CAD file.
- Return
An ImportNotfier object that can be used to query the import progress and status.
- class ImportNotifier : public HPS.IONotifier
The ImportNotifier class is a smart-pointer that is tied to a file import. It is used to interact with an ongoing import or get the results from a completed import.
Public Functions
- void Assign (HPS.Parasolid.ImportNotifier in_that)
Associate this ImportNotifier with the same file import as the source ImportNotifier.
- Param in_that
The source ImportNotifier for the assignment.
- override void Dispose ()
- HPS.Parasolid.CADModel GetCADModel ()
Get the CADModel for the file import. Throws an IOException if the import is not complete, was not successful or was canceled.
- Return
The CADModel for a successful file import.
- double GetImportTime ()
Get the number of milliseconds it took Parasolid to read the file into memory. Throws an IOException if the import is not complete, was not successful or was canceled.
- double GetParseTime ()
Get the number of milliseconds it took Visualize to parse the Parasolid data and create the corresponding scene graph. Throws an IOException if the import is not complete, was not successful or was canceled.
- ImportNotifier ()
The default constructor creates an ImportNotifier object which is not tied to any file import.
- ImportNotifier (HPS.IONotifier in_that)
The conversion constructor creates a new derived ImportNotifier object from a base IONotifier object. The copy will only be successful if the source notifier is really an upcast of this notifier type. Otherwise the copy will fail and the resulting ImportNotifier will be invalid.
- Param in_that
The source IONotifier to copy.
- ImportNotifier (HPS.Parasolid.ImportNotifier in_that)
The copy constructor creates a new ImportNotifier object that is associated with the same file import as the source ImportNotifier.
- Param in_that
The source ImportNotifier to copy.
- override HPS.Type ObjectType ()
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Return
The declared type of the object in question, which may differ from the true, underlying type.
- class ImportOptionsKit : public HPS.SprocketKit
The ImportOptionsKit class is a user space object. It contains settings controlling what and how data is imported via the Parasolid interface. Calling HPS.Parasolid.ImportOptionsKit.GetDefault() will return an options kit with values found in here.
Public Functions
- override void Dispose ()
- override bool Empty ()
Indicates whether this ImportOptionsKit has any values set on it.
- Return
true if no values are set on this ImportOptionsKit, false otherwise.
- bool Equals (HPS.Parasolid.ImportOptionsKit in_kit)
Check if the source ImportOptionsKit is equivalent to this ImportOptionsKit.
- Param in_kit
The source ImportOptionsKit to compare to this ImportOptionsKit.
- Return
true if the objects are equivalent, false otherwise.
- override bool Equals (Object obj)
- override int GetHashCode ()
- ImportOptionsKit ()
The default constructor creates an empty ImportOptionsKit object.
- ImportOptionsKit (HPS.Parasolid.ImportOptionsKit in_kit)
The copy constructor creates a new ImportOptionsKit object that contains the same settings as the source ImportOptionsKit.
- Param in_kit
The source ImportOptionsKit to copy.
- override HPS.Type ObjectType ()
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Return
The declared type of the object in question, which may differ from the true, underlying type.
- void Set (HPS.Parasolid.ImportOptionsKit in_kit)
Copies the source ImportOptionsKit into this ImportOptionsKit.
- Param in_kit
The source ImportOptionsKit to copy.
- HPS.Parasolid.ImportOptionsKit SetAttributeMismatchBehavior (HPS.Parasolid.MismatchBehavior in_behavior)
Sets the importer behavior for mismatched attributes.
This corresponds to the value that will be passed to PK_PART_receive_o_t.attdef_mismatch.
- See
Default value
- Param in_behavior
The behavior of the importer when mismatched attributes are found.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit SetCompoundBodyBehavior (HPS.Parasolid.CompoundBodyBehavior in_behavior)
Sets the importer behavior for compound bodies.
This corresponds to the value that will be passed to PK_PART_receive_o_t.receive_compound.
- See
Default value
- Param in_behavior
The behavior of the importer when compound bodies are found.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit SetFacetTessellation (HPS.Parasolid.FacetTessellationKit in_facet_tessellation_kit)
Sets the facet tessellation settings used during import This corresponds to the PK_TOPOL_render_facet_o_t struct.
- Param in_facet_tessellation_kit
The facet tessellation settings used during import
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit SetFormat (HPS.Parasolid.Format in_format)
Sets the format type to be imported.
This corresponds to the value that will be passed to PK_PART_receive_o_t.transmit_format.
- See
Default value
- Param in_format
The format of the file to be imported.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit SetLineTessellation (HPS.Parasolid.LineTessellationKit in_line_tessellation_kit)
Sets the line tessellation settings used during import This corresponds to the PK_TOPOL_render_line_o_t struct.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit SetLocation (HPS.ComponentPath in_path)
Sets where to insert the imported file in an existing Component hierarchy. If this option is not set, a new CADModel will be created for the imported file. If this option is specified, the underlying Parasolid data of the existing CADModel will be modified to include the imported file and the data will be imported into the specified location in the existing Component hierarchy and its corresponding scene graph. The file will be imported in the same PK_PARTITION_t as the one to which entities in in_path belong.
- Param in_path
The path describing the location to insert the imported file into. This path must either terminate at a CADModel or a Component corresponding to a Parasolid Assembly. Note that if the imported file is added along a ComponentPath with attributes specified in the Parasolid data, the components added to the existing Parasolid data will also inherit those attributes.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit SetLocation (HPS.ComponentPath in_path, HPS.MatrixKit in_transform)
Sets where to insert the imported file in an existing Component hierarchy. If this option is not set, a new CADModel will be created for the imported file. If this option is specified, the underlying Parasolid data of the existing CADModel will be modified to include the imported file and the data will be imported into the specified location in the existing Component hierarchy and its corresponding scene graph. The file will be imported in the same PK_PARTITION_t as the one to which entities in in_path belong.
- Param in_path
The path describing the location to insert the imported file into. This path must either terminate at a CADModel or a Component corresponding to a Parasolid Assembly. Note that if the imported file is added along a ComponentPath with attributes specified in the Parasolid data, the components added to the existing Parasolid data will also inherit those attributes.
- Param in_transform
A transform to apply to the components being added to the existing CADModel. This transform will also be added to the underlying Parasolid data. Valid transformations are limited to translations, rotations, uniform scaling and reflection. If the transform does not conform to these limitations it will be ignored. Defaults to an identity transform.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit SetUserFields (bool in_import_user_fields)
Sets whether to import user fields from the CAD file.
This corresponds to the value that will be passed to PK_PART_receive_o_t.receive_user_fields.
- See
Default value
- Param in_import_user_fields
Whether to import user fields from the CAD file.
- Return
A reference to this ImportOptionsKit.
- void Show (out HPS.Parasolid.ImportOptionsKit out_kit)
Copies this ImportOptionsKit into the given ImportOptionsKit.
- Param out_kit
The ImportOptionsKit to populate with the contents of this ImportOptionsKit.
- bool ShowAttributeMismatchBehavior (out HPS.Parasolid.MismatchBehavior out_behavior)
Shows the attribute mismatch behavior import setting.
- Param out_behavior
The attribute mismatch behavior setting for this import.
- Return
true if an attribute mismatch behavior setting was specified, false otherwise.
- bool ShowCompoundBodyBehavior (out HPS.Parasolid.CompoundBodyBehavior out_behavior)
Shows the compound body behavior import setting.
- Param out_behavior
The compound body behavior setting for this import.
- Return
true if a compound body behavior setting was specified, false otherwise.
- bool ShowFacetTessellation (out HPS.Parasolid.FacetTessellationKit out_facet_tessellation)
Shows the facet tessellation import setting.
- Param out_facet_tessellation
The facet tessellation setting for this import.
- Return
true if a facet tessellation setting was specified, false otherwise.
- bool ShowFormat (out HPS.Parasolid.Format out_format)
Shows the format import setting.
- Param out_format
The format setting for this import.
- Return
true if a format setting was specified, false otherwise.
- bool ShowLineTessellation (out HPS.Parasolid.LineTessellationKit out_line_tessellation)
Shows the line tessellation import setting.
- Param out_line_tessellation
The line tessellation setting for this import.
- Return
true if a line tessellation setting was specified, false otherwise.
- bool ShowLocation (out HPS.ComponentPath out_path, out HPS.MatrixKit out_transformation)
Shows the location setting.
- Param out_path
The path describing the location to insert the imported file into.
- Return
true if a location setting was specified, false otherwise.
- bool ShowUserFields (out bool out_user_fields)
Shows the user fields import setting.
- Param out_user_fields
The user fields setting for this import.
- Return
true if a user fields setting was specified, false otherwise.
- HPS.Parasolid.ImportOptionsKit UnsetAttributeMismatchBehavior ()
Removes the attribute mismatch behavior state.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit UnsetCompoundBodyBehavior ()
Removes the compound body behavior state.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit UnsetEverything ()
Removes all settings from this ImportOptionsKit.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit UnsetFacetTessellation ()
Removes the facet tessellation state.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit UnsetFormat ()
Removes the format import state.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit UnsetLineTessellation ()
Removes the line tessellation state.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit UnsetLocation ()
Removes the location state.
- Return
A reference to this ImportOptionsKit.
- HPS.Parasolid.ImportOptionsKit UnsetUserFields ()
Removes the user fields import state.
- Return
A reference to this ImportOptionsKit.
Public Static Functions
- HPS.Parasolid.ImportOptionsKit GetDefault ()
Creates an ImportOptionsKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default. These values will be used for import unless an option is overridden by the options passed to File.Import.
- Return
An ImportOptionsKit with the default settings.
- bool operator!= (HPS.Parasolid.ImportOptionsKit a, HPS.Parasolid.ImportOptionsKit b)
- bool operator== (HPS.Parasolid.ImportOptionsKit a, HPS.Parasolid.ImportOptionsKit b)
- class Line
Public Types
- enum BCurveRendering
Values:
- Polyline
Output bcurves as polylines.
- Bezier
Output bcurves in Bezier form.
- NURBS
Output bcurves in NURBS form.
- enum Hierarchical
Values:
- On
Do not produce hierarchical output.
- Off
Hierarchical output.
- NoGeometry
Hierarchical output - no geometry.
- Parameterized
Hierarchical output parameterised.
- enum OverlappingBehavior
Values:
- DoNotAllow
Do not allow for overlapping instances.
- Allow
Allow for overlapping instances.
- AllowAndIntersectAll
Allow for overlapping instances, and clash all curves.
- AllowAndIntersectPairs
Allow for overlapping instances, and clash pairs of curves.
- enum Region
Values:
- Output
Output regional data for all edges and silhouettes.
- DoNotOutput
Do not output regional data.
- ByAttribute
Output regional data for silhouettes and edges bounding faces with the regional attribute.
- enum Smooth
Values:
- Indicate
Indicate whether edges are smooth.
- DoNotIndicate
Do not indicate whether edges are smooth.
- Draft
Indicate whether edges are smooth, and also whether they are coincident with other lines.
- enum UnfixedBlends
Values:
- Draw
No rendering of unfixed blends.
- DoNotDraw
Unfixed blends are rendered.
- ByAttribute
Unfixed blends are rendered as defined by the blend attribute.
- enum Visibility
Values:
- DoNotEvaluate
Visibility information is not evaluated.
- NoHidden
Hidden lines are not drawn.
- MarkHiddenAsInvisible
Hidden lines are drawn and marked as invisible.
- Draft
Hidden lines and distinguish between those hidden by lines and those hidden by faces.
- Custom
Evaluate visibility based on the options passed to LineTessellationKit.SetVisibilityEvaluation()
- class Hatching
Public Types
- enum Parametric
Values:
- NoHatching
No hatching.
- ByAttribute
Hatch faces which have parametric hatch attributes.
- ByVectorNoLocking
Hatch faces by vector. The parametric position is not locked to a point.
- ByVector
Hatch faces by vector.
- class LineTessellationKit : public HPS.SprocketKit
The LineTessellationKit class is a user space object. It contains settings controlling what and how data is imported via Parasolid.
Public Functions
- override void Dispose ()
- override bool Empty ()
Indicates whether this LineTessellationKit has any values set on it.
- Return
true if no values are set on this LineTessellationKit, false otherwise.
- bool Equals (HPS.Parasolid.LineTessellationKit in_kit)
Check if the source LineTessellationKit is equivalent to this LineTessellationKit.
- Param in_kit
The source LineTessellationKit to compare to this LineTessellationKit.
- Return
true if the objects are equivalent, false otherwise.
- override bool Equals (Object obj)
- override int GetHashCode ()
- LineTessellationKit ()
The default constructor creates an empty LineTessellationKit object.
- LineTessellationKit (HPS.Parasolid.LineTessellationKit in_kit)
The copy constructor creates a new LineTessellationKit object that contains the same settings as the source LineTessellationKit.
- Param in_kit
The source LineTessellationKit to copy.
- override HPS.Type ObjectType ()
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Return
The declared type of the object in question, which may differ from the true, underlying type.
- void Set (HPS.Parasolid.LineTessellationKit in_kit)
Copies the source LineTessellationKit into this LineTessellationKit.
- Param in_kit
The source LineTessellationKit to copy.
- HPS.Parasolid.LineTessellationKit SetBCurveRenderingMethod (HPS.Parasolid.Line.BCurveRendering in_bcurve_rendering_method)
Sets the method used to render bcurves
- Param in_bcurve_rendering_method
the method used to render bcurves. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.bcurve.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetChordTolerance (double in_chord_tolerance, double in_maximum_chord_length, double in_maximum_chord_angle)
Sets chord tolerance.
- Param in_chord_tolerance
curve chordal tolerance between a curve and chord edges. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.curve_chord_tol.
- Param in_maximum_chord_length
maximum chord length. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.curve_chord_max.
- Param in_maximum_chord_angle
maximum chord angle, in radians. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.curve_chord_ang.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetEdges (bool in_draw_edges, bool in_internal_edges)
Sets whether edges are drawn.
- Param in_draw_edges
whether edges are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.edge.
- Param in_internal_edges
whether edges are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.internal.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetHierarchicalOutput (HPS.Parasolid.Line.Hierarchical in_hierarchical_output)
Sets whether a hierarchical output is produced
- Param in_hierarchical_output
whether a hierarchical output is produced. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.hierarch.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetIgnoreCriteria (bool in_ignore)
Sets criteria for ignoring lines.
- Param in_ignore
whether any line should be ignored.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetIgnoreCriteria (bool in_ignore, HPS.Parasolid.Ignore in_ignore_criteria)
Sets criteria for ignoring lines.
- Param in_ignore
whether any line should be ignored.
- Param in_ignore_criteria
specifies how to interpret the minimum_value parameter. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.ignore.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetIgnoreCriteria (bool in_ignore, HPS.Parasolid.Ignore in_ignore_criteria, double in_minimum_value)
Sets criteria for ignoring lines.
- Param in_ignore
whether any line should be ignored.
- Param in_ignore_criteria
specifies how to interpret the minimum_value parameter. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.ignore.
- Param in_minimum_value
minimum value for a facet not to be ignored. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.ignore_value.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetMemoryLimit (bool in_use_memory_limit)
Sets whether a memory limit should be used for rendering lines
- Param in_use_memory_limit
whether a memory limit should be used for rendering lines. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.memory_target.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetMemoryLimit (bool in_use_memory_limit, ulong in_limit)
Sets whether a memory limit should be used for rendering lines
- Param in_use_memory_limit
whether a memory limit should be used for rendering lines. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.memory_target.
- Param in_limit
the memory limits, in bytes. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.memory_target_value.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetMissingGeometryFailure (bool in_fail_on_missing_geometry)
Sets the behavior the import assumes when it encounters missing geometry
- Param in_fail_on_missing_geometry
whether the importer should fail when encountering missing geometry. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.ske_missing.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetOverlappingBehavior (HPS.Parasolid.Line.OverlappingBehavior in_overlapping_behavior)
Sets the behavior the import assumes when it encounters overlapping curves
- Param in_overlapping_behavior
the behavior the import assumes when it encounters overlapping curves. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetOverlappingBehavior (HPS.Parasolid.Line.OverlappingBehavior in_overlapping_behavior, int[] in_indices_one)
Sets the behavior the import assumes when it encounters overlapping curves
- Param in_overlapping_behavior
the behavior the import assumes when it encounters overlapping curves. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap.
- Param in_indices_one
array of body occurrences used for clashing. Only relevant if in_overlapping_behavior equals AllowAndIntersectAll or AllowAndIntersectPairs. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap_indices1.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetOverlappingBehavior (HPS.Parasolid.Line.OverlappingBehavior in_overlapping_behavior, int[] in_indices_one, int[] in_indices_two)
Sets the behavior the import assumes when it encounters overlapping curves
- Param in_overlapping_behavior
the behavior the import assumes when it encounters overlapping curves. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap.
- Param in_indices_one
array of body occurrences used for clashing. Only relevant if in_overlapping_behavior equals AllowAndIntersectAll or AllowAndIntersectPairs. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap_indices1.
- Param in_indices_two
array of body occurrences used for clashing. Only relevant if in_overlapping_behavior equals AllowAndIntersectAll or AllowAndIntersectPairs. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.overlap_indices2.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetParametricHatching (HPS.Parasolid.Line.Hatching.Parametric in_parametric_hatching)
Sets parametric hatching tessellation options
- Param in_parametric_hatching
the type of parametric hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetParametricHatching (HPS.Parasolid.Line.Hatching.Parametric in_parametric_hatching, double in_u)
Sets parametric hatching tessellation options
- Param in_parametric_hatching
the type of parametric hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param.
- Param in_u
hatch spacing in u direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_u. Only relevant if in_parametric_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetParametricHatching (HPS.Parasolid.Line.Hatching.Parametric in_parametric_hatching, double in_u, double in_u_start)
Sets parametric hatching tessellation options
- Param in_parametric_hatching
the type of parametric hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param.
- Param in_u
hatch spacing in u direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_u. Only relevant if in_parametric_hatching equals to either ByVectorNoLocking or ByVector
- Param in_u_start
start value for parametric hatching in the u direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_u_start. Only relevant if in_planar_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetParametricHatching (HPS.Parasolid.Line.Hatching.Parametric in_parametric_hatching, double in_u, double in_u_start, double in_v)
Sets parametric hatching tessellation options
- Param in_parametric_hatching
the type of parametric hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param.
- Param in_u
hatch spacing in u direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_u. Only relevant if in_parametric_hatching equals to either ByVectorNoLocking or ByVector
- Param in_u_start
start value for parametric hatching in the u direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_u_start. Only relevant if in_planar_hatching equals to either ByVectorNoLocking or ByVector
- Param in_v
hatch spacing in v direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_v. Only relevant if in_parametric_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetParametricHatching (HPS.Parasolid.Line.Hatching.Parametric in_parametric_hatching, double in_u, double in_u_start, double in_v, double in_v_start)
Sets parametric hatching tessellation options
- Param in_parametric_hatching
the type of parametric hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param.
- Param in_u
hatch spacing in u direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_u. Only relevant if in_parametric_hatching equals to either ByVectorNoLocking or ByVector
- Param in_u_start
start value for parametric hatching in the u direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_u_start. Only relevant if in_planar_hatching equals to either ByVectorNoLocking or ByVector
- Param in_v
hatch spacing in v direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_v. Only relevant if in_parametric_hatching equals to either ByVectorNoLocking or ByVector
- Param in_v_start
start value for parametric hatching in the v direction. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.param_v_start. Only relevant if in_planar_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetPlanarHatching (HPS.Parasolid.Line.Hatching.Planar in_planar_haching)
Sets planar hatching tessellation options
- Param in_planar_haching
the type of planar hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.planar.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetPlanarHatching (HPS.Parasolid.Line.Hatching.Planar in_planar_haching, double in_planar_spacing)
Sets planar hatching tessellation options
- Param in_planar_haching
the type of planar hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.planar.
- Param in_planar_spacing
distance between panes. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.planar_spacing.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetPlanarHatching (HPS.Parasolid.Line.Hatching.Planar in_planar_haching, double in_planar_spacing, HPS.DPoint in_point_through)
Sets planar hatching tessellation options
- Param in_planar_haching
the type of planar hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.planar.
- Param in_planar_spacing
distance between panes. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.planar_spacing.
- Param in_point_through
used with in_direction to determine the axis for planar hatching. Only relevant if in_planar_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetPlanarHatching (HPS.Parasolid.Line.Hatching.Planar in_planar_haching, double in_planar_spacing, HPS.DPoint in_point_through, HPS.DVector in_direction)
Sets planar hatching tessellation options
- Param in_planar_haching
the type of planar hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.planar.
- Param in_planar_spacing
distance between panes. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.planar_spacing.
- Param in_point_through
used with in_direction to determine the axis for planar hatching. Only relevant if in_planar_hatching equals to either ByVectorNoLocking or ByVector
- Param in_direction
used with in_point_through to determine the axis for planar hatching. Only relevant if in_planar_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetRadialHatching (HPS.Parasolid.Line.Hatching.Radial in_radial_hatching)
Sets radial hatching tessellation options
- Param in_radial_hatching
the type of radial hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetRadialHatching (HPS.Parasolid.Line.Hatching.Radial in_radial_hatching, double in_around)
Sets radial hatching tessellation options
- Param in_radial_hatching
the type of radial hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial.
- Param in_around
angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetRadialHatching (HPS.Parasolid.Line.Hatching.Radial in_radial_hatching, double in_around, double in_around_start)
Sets radial hatching tessellation options
- Param in_radial_hatching
the type of radial hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial.
- Param in_around
angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_around_start
starting value for angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetRadialHatching (HPS.Parasolid.Line.Hatching.Radial in_radial_hatching, double in_around, double in_around_start, double in_along)
Sets radial hatching tessellation options
- Param in_radial_hatching
the type of radial hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial.
- Param in_around
angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_around_start
starting value for angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_along
spacing along spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_along. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetRadialHatching (HPS.Parasolid.Line.Hatching.Radial in_radial_hatching, double in_around, double in_around_start, double in_along, double in_along_start)
Sets radial hatching tessellation options
- Param in_radial_hatching
the type of radial hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial.
- Param in_around
angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_around_start
starting value for angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_along
spacing along spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_along. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_along_start
starting value for angular spacing along spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_along_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetRadialHatching (HPS.Parasolid.Line.Hatching.Radial in_radial_hatching, double in_around, double in_around_start, double in_along, double in_along_start, double in_about)
Sets radial hatching tessellation options
- Param in_radial_hatching
the type of radial hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial.
- Param in_around
angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_around_start
starting value for angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_along
spacing along spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_along. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_along_start
starting value for angular spacing along spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_along_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_about
spacing about spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_about. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetRadialHatching (HPS.Parasolid.Line.Hatching.Radial in_radial_hatching, double in_around, double in_around_start, double in_along, double in_along_start, double in_about, double in_about_start)
Sets radial hatching tessellation options
- Param in_radial_hatching
the type of radial hatching desired. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial.
- Param in_around
angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_around_start
starting value for angular spacing around spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_around_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_along
spacing along spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_along. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_along_start
starting value for angular spacing along spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_along_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_about
spacing about spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_about. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Param in_about_start
starting value for angular spacing about spine. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.radial_about_start. Only relevant if in_radial_hatching equals to either ByVectorNoLocking or ByVector
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetRegionalData (HPS.Parasolid.Line.Region in_region)
Sets whether regional data is produced.
- Param in_region
whether regional data is produced. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.region.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetSilhouetteEdges (bool in_draw_silhouette_edges, bool in_draw_circles_as_arcs)
Sets whether silhouette edges are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.silhouette.
- Param in_draw_silhouette_edges
whether silhouette edges are drawn.
- Param in_draw_circles_as_arcs
whether near circular analytic silhouettes can be drawn as arcs
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetSmoothEdges (HPS.Parasolid.Line.Smooth in_smooth)
Sets whether to indicate smooth edges
- Param in_smooth
whether to indicate smooth edges. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.smooth.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetSmoothEdges (HPS.Parasolid.Line.Smooth in_smooth, double in_tolerance)
Sets whether to indicate smooth edges
- Param in_smooth
whether to indicate smooth edges. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.smooth.
- Param in_tolerance
maximum angle allowed between faces for edges to be smooth. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.edge_smooth_tol.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetTransparentBodies (bool in_allow_transparency, bool in_transparent_hide)
Sets the transparency settings for line tessellation
- Param in_allow_transparency
whether transparent bodies are drawn. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.transparent.
- Param in_transparent_hide
whether transparent bodies can hide other transparent bodies. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.transparent_hid.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetTransparentBodies (bool in_allow_transparency, bool in_transparent_hide, int[] in_transparent_bodies)
Sets the transparency settings for line tessellation
- Param in_allow_transparency
whether transparent bodies are drawn. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.transparent.
- Param in_transparent_hide
whether transparent bodies can hide other transparent bodies. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.transparent_hid.
- Param in_transparent_bodies
an array of body occurrences to be rendered transparent. Corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.transparent_indices.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetUnfixedBlends (HPS.Parasolid.Line.UnfixedBlends in_unfixed_blends)
Sets whether unfixed blends are drawn
- Param in_unfixed_blends
whether unfixed blends are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.unfix.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetUnfixedBlends (HPS.Parasolid.Line.UnfixedBlends in_unfixed_blends, double in_spacing)
Sets whether unfixed blends are drawn
- Param in_unfixed_blends
whether unfixed blends are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.unfix.
- Param in_spacing
default rib spacing. Only relevant if in_unfixed_blends equals Draw. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.unfix_spacing.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetViewports (bool in_use_viewports)
Sets whether the importer uses viewports and how.
- Param in_use_viewports
whether the importer uses viewports. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetViewports (bool in_use_viewports, bool in_is_3d)
Sets whether the importer uses viewports and how.
- Param in_use_viewports
whether the importer uses viewports. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport
- Param in_is_3d
whether the viewports used are three dimensional or not. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport_type.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetViewports (bool in_use_viewports, bool in_is_3d, bool viewport_clipping)
Sets whether the importer uses viewports and how.
- Param in_use_viewports
whether the importer uses viewports. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport
- Param in_is_3d
whether the viewports used are three dimensional or not. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport_type.
- Param viewport_clipping
whether viewport clipping should be used. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport_clipping.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetViewports (bool in_use_viewports, bool in_is_3d, bool viewport_clipping, HPS.Parasolid.Viewport[] in_viewports)
Sets whether the importer uses viewports and how.
- Param in_use_viewports
whether the importer uses viewports. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport
- Param in_is_3d
whether the viewports used are three dimensional or not. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport_type.
- Param viewport_clipping
whether viewport clipping should be used. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.viewport_clipping.
- Param in_viewports
the viewports used.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetVisibilityEvaluation (HPS.Parasolid.Line.Visibility in_visibility)
Sets whether visibility is evaluated
- Param in_visibility
setting for visibility evaluation. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.visibility.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetVisibilityEvaluation (HPS.Parasolid.Line.Visibility in_visibility, bool in_draw_invisible)
Sets whether visibility is evaluated
- Param in_visibility
setting for visibility evaluation. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.visibility.
- Param in_draw_invisible
whether to output invisible lines. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.invisible.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetVisibilityEvaluation (HPS.Parasolid.Line.Visibility in_visibility, bool in_draw_invisible, bool in_drafting)
Sets whether visibility is evaluated
- Param in_visibility
setting for visibility evaluation. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.visibility.
- Param in_draw_invisible
whether to output invisible lines. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.invisible.
- Param in_drafting
whether to distinguish between lines hidden by other lines and lines hidden by faces. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.drafting.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetVisibilityEvaluation (HPS.Parasolid.Line.Visibility in_visibility, bool in_draw_invisible, bool in_drafting, bool in_self_hidden)
Sets whether visibility is evaluated
- Param in_visibility
setting for visibility evaluation. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.visibility.
- Param in_draw_invisible
whether to output invisible lines. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.invisible.
- Param in_drafting
whether to distinguish between lines hidden by other lines and lines hidden by faces. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.drafting.
- Param in_self_hidden
whether to distinguish lines that are self-hidden or hidden by another occurrence of themselves. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.self_hidden.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit SetVisibilityEvaluation (HPS.Parasolid.Line.Visibility in_visibility, bool in_draw_invisible, bool in_drafting, bool in_self_hidden, int[] in_suppressed_indices)
Sets whether visibility is evaluated
- Param in_visibility
setting for visibility evaluation. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.visibility.
- Param in_draw_invisible
whether to output invisible lines. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.invisible.
- Param in_drafting
whether to distinguish between lines hidden by other lines and lines hidden by faces. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.drafting.
- Param in_self_hidden
whether to distinguish lines that are self-hidden or hidden by another occurrence of themselves. Only relevant if in_visibility equals Custom. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.self_hidden.
- Param in_suppressed_indices
array of indices for which invisible lines are suppressed. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.suppressed_indices.
- Return
A reference to this LineTessellationKit.
- void Show (out HPS.Parasolid.LineTessellationKit out_kit)
Copies this LineTessellationKit into the given LineTessellationKit.
- Param out_kit
The LineTessellationKit to populate with the contents of this LineTessellationKit.
- bool ShowBCurveRenderingMethod (out HPS.Parasolid.Line.BCurveRendering out_bcurve_rendering_method)
Shows the method used to render bcurves
- Return
true if a bcurve setting was specified, false otherwise.
- bool ShowChordTolerance (out double out_chord_tolerance, out double out_maximum_chord_length, out double out_maximum_chord_angle)
Shows chord tolerance.
- Return
true if a tolerance setting was specified, false otherwise.
- bool ShowEdges (out bool out_draw_edges, out bool out_internal_edges)
Shows whether edges are drawn.
- Return
true if an edge setting was specified, false otherwise.
- bool ShowHierarchicalOutput (out HPS.Parasolid.Line.Hierarchical out_hierarchical_output)
Shows whether a hierarchical output is produced
- Return
true if a hierarchical setting was specified, false otherwise.
- bool ShowIgnoreCriteria (out bool out_ignore, out HPS.Parasolid.Ignore out_ignore_criteria, out double out_minimum_value)
Shows criteria for ignoring lines.
- Return
true if an ignore criteria setting was specified, false otherwise.
- bool ShowMemoryLimit (out bool out_use_memory_limit, out ulong out_limit)
Shows whether a memory limit should be used for rendering lines
- Return
true if an memory limit setting was specified, false otherwise.
- bool ShowMissingGeometryFailure (out bool out_fail_on_missing_geometry)
Shows the behavior the import assumes when it encounters missing geometry
- Return
true if a missing geometry setting was specified, false otherwise.
- bool ShowOverlappingBehavior (out HPS.Parasolid.Line.OverlappingBehavior out_overlapping_behavior, out int[] out_indices_one, out int[] out_indices_two)
Shows the behavior the import assumes when it encounters overlapping curves
- Return
true if an overlapping behavior setting was specified, false otherwise.
- bool ShowParametericHatching (out HPS.Parasolid.Line.Hatching.Parametric out_parametric_hatching, out double out_u, out double out_u_start, out double out_v, out double out_v_start)
Shows parametric hatching tessellation options
- Return
true if a parametric hatching setting was specified, false otherwise.
- bool ShowPlanarHatching (out HPS.Parasolid.Line.Hatching.Planar out_planar_haching, out double out_planar_spacing, out HPS.DPoint out_point_through, out HPS.DVector out_direction)
Shows planar hatching tessellation options
- Return
true if a planar hatching setting was specified, false otherwise.
- bool ShowRadialHatching (out HPS.Parasolid.Line.Hatching.Radial out_radial_hatching, out double out_around, out double out_around_start, out double out_along, out double out_along_start, out double out_about, out double out_about_start)
Shows radial hatching tessellation options
- Return
true if a radial hatching setting was specified, false otherwise.
- bool ShowRegionalData (out HPS.Parasolid.Line.Region out_region)
Shows whether regional data is produced.
- Return
true if a region setting was specified, false otherwise.
- bool ShowSilhouetteEdges (out bool out_draw_silhouette_edges, out bool out_draw_circles_as_arcs)
Shows whether silhouette edges are drawn. This corresponds to the value that will be passed to PK_TOPOL_render_line_o_t.silhouette.
- Return
true if a silhouette edges setting was specified, false otherwise.
- bool ShowSmoothEdges (out HPS.Parasolid.Line.Smooth out_smooth, out double out_tolerance)
Shows whether to indicate smooth edges
- Return
true if a smooth edge setting was specified, false otherwise.
- bool ShowTransparentBodies (out bool out_allow_transparency, out bool out_transparent_hide, out int[] out_force_transparent)
Shows the transparency setting for line tessellation
- Return
true if a transparency setting was specified, false otherwise.
- bool ShowUnfixedBlends (out HPS.Parasolid.Line.UnfixedBlends out_unfixed_blends, out double out_spacing)
Shows whether unfixed blends are drawn
- Return
true if an unfixed blends setting was specified, false otherwise.
- bool ShowViewports (out bool out_use_viewports, out bool out_is_3d, out bool out_viewport_clipping, out HPS.Parasolid.Viewport[] out_viewports)
Shows whether the importer uses viewports and how.
- Return
true if a viewport setting was specified, false otherwise.
- bool ShowVisibilityEvaluation (out HPS.Parasolid.Line.Visibility out_visibility, out bool out_draw_invisible, out bool out_drafting, out bool out_self_hidden, out int[] out_suppressed_indices)
Shows whether visibility is evaluated
- Return
true if a visibility setting was specified, false otherwise.
- HPS.Parasolid.LineTessellationKit UnsetBCurveRenderingMethod ()
Removes the bcurve rendering method tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetChordTolerance ()
Removes the chord tolerance tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetEdges ()
Removes the edge tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetEverything ()
Removes all settings from this LineTessellationKit.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetHierarchicalOutput ()
Removes the hierarchical output tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetIgnoreCriteria ()
Removes the ignore criteria tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetMemoryLimit ()
Removes the memory limit tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetMissingGeometryFailure ()
Removes the missing geometry tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetOverlappingBehavior ()
Removes the overlapping geometry tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetParametericHatching ()
Removes the parametric hatching tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetPlanarHatching ()
Removes the planar hatching tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetRadialHatching ()
Removes the radial hatching tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetRegionalData ()
Removes the regional data tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetSilhouetteEdges ()
Removes the silhouette edges tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetSmoothEdges ()
Removes the smooth edges tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetTransparentBodies ()
Removes the transparent bodies tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetUnfixedBlends ()
Removes the unfixed blends tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetViewports ()
Removes the viewports tessellation state.
- Return
A reference to this LineTessellationKit.
- HPS.Parasolid.LineTessellationKit UnsetVisibilityEvaluation ()
Removes the visibility evaluation tessellation state.
- Return
A reference to this LineTessellationKit.
Public Static Functions
- HPS.Parasolid.LineTessellationKit GetDefault ()
Creates an LineTessellationKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default. These values will be used for import unless an option is overridden by the options passed to File.Import.
- Return
An LineTessellationKit with the default settings.
- bool operator!= (HPS.Parasolid.LineTessellationKit a, HPS.Parasolid.LineTessellationKit b)
- bool operator== (HPS.Parasolid.LineTessellationKit a, HPS.Parasolid.LineTessellationKit b)
- class Viewport : public IDisposable
Public Functions
- void Dispose ()
- bool Equals (HPS.Parasolid.Viewport in_viewport)
- override bool Equals (Object obj)
- override int GetHashCode ()
- void ShowViewport (out double[] out_box, out HPS.DPoint out_location, out HPS.DVector out_z_direction, out HPS.DVector out_x_direction)
- Viewport ()
- Viewport (double[] in_box, HPS.DPoint in_location, HPS.DVector in_z_direction, HPS.DVector in_x_direction)
- Viewport (HPS.Parasolid.Viewport in_that)
Public Static Functions
- bool operator!= (HPS.Parasolid.Viewport a, HPS.Parasolid.Viewport b)
- bool operator== (HPS.Parasolid.Viewport a, HPS.Parasolid.Viewport b)