|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
bool | cMemOwn |
|
HandleRef | cptr |
|
The HPS.Exchange.TranslationOptionsKit class is a user space object. It contains settings controlling what and how data is translated to Parasolid by Exchange. Calling HPS.Exchange.TranslationOptionsKit.GetDefault() will return an options kit with values found in here.
◆ TranslationOptionsKit() [1/2]
HPS.Exchange.TranslationOptionsKit.TranslationOptionsKit |
( |
| ) |
|
|
inline |
◆ TranslationOptionsKit() [2/2]
◆ Empty()
override bool HPS.Exchange.TranslationOptionsKit.Empty |
( |
| ) |
|
|
inlinevirtual |
◆ Equals()
◆ GetDefault()
Creates a TranslationOptionsKit 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 translation unless an option is overridden by the options passed to one of the Translate functions.
- Returns
- A TranslationOptionsKit with the default settings.
◆ ObjectType()
override HPS.Type HPS.Exchange.TranslationOptionsKit.ObjectType |
( |
| ) |
|
|
inlinevirtual |
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).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.SprocketKit.
◆ Set()
◆ SetAccurateEdges()
◆ SetApplication()
◆ SetDisjointFaces()
◆ SetEntityMerging()
◆ SetExplodeMultiBodies()
◆ SetHealing()
◆ SetHiddenObjects()
◆ SetMultiProcessCount()
Sets the number of processes to use when performing translation. This should be a value between 1 and the number of cores on your system.
- Note
- Presently this option is only used for translations performed when using HPS.ExchangeParsolid.File.Import and HPS.ExchangeParasolid.File.Reload.
- Parameters
-
in_count | The number of processes to use when performing translation. |
- Returns
- A reference to this TranslationOptionsKit.
◆ SetSewing() [1/2]
Sets whether perform sewing as part of the translation.
- Parameters
-
in_state | Whether to perform sewing. |
in_tolerance | The sewing tolerance in millimeters. |
- Returns
- A reference to this TranslationOptionsKit.
◆ SetSewing() [2/2]
Sets whether perform sewing as part of the translation.
- Parameters
-
in_state | Whether to perform sewing. |
- Returns
- A reference to this TranslationOptionsKit.
◆ SetSimplification()
◆ SetSolidsAsFaces()
◆ SetTessellation()
◆ SetVersion()
◆ Show()
◆ ShowAccurateEdges()
Shows the accurate edges setting.
- Parameters
-
out_accurate_edges | Whether to compute accurate edges for translation. |
- Returns
- true if an accurate edges setting was specified, false otherwise.
◆ ShowApplication()
bool HPS.Exchange.TranslationOptionsKit.ShowApplication |
( |
out string |
out_name | ) |
|
|
inline |
Shows the application name setting.
- Parameters
-
out_name | The application name to put in the Parasolid data. |
- Returns
- true if an application name setting was specified, false otherwise.
◆ ShowDisjointFaces()
bool HPS.Exchange.TranslationOptionsKit.ShowDisjointFaces |
( |
out bool |
out_state | ) |
|
|
inline |
Shows the disjoin faces setting.
- Parameters
-
out_state | Whether to disjoin erroneous faces from their owning solids. |
- Returns
- true if a disjoin faces setting was specified, false otherwise.
◆ ShowEntityMerging()
Shows the merging setting.
- Parameters
-
out_merging | Whether to merge entities for translation. |
- Returns
- true if a merging setting was specified, false otherwise.
◆ ShowExplodeMultiBodies()
bool HPS.Exchange.TranslationOptionsKit.ShowExplodeMultiBodies |
( |
out bool |
out_state | ) |
|
|
inline |
Shows the explode multi bodies setting.
- Parameters
-
out_state | The explode multi bodies setting to put in the Parasolid data. |
- Returns
- true if a explode multi bodies setting was specified, false otherwise.
◆ ShowHealing()
Shows the healing setting.
- Parameters
-
out_healing | Whether to heal data for translation. |
- Returns
- true if a healing setting was specified, false otherwise.
◆ ShowHiddenObjects()
bool HPS.Exchange.TranslationOptionsKit.ShowHiddenObjects |
( |
out bool |
out_state | ) |
|
|
inline |
Shows the hidden object translation setting.
- Parameters
-
out_state | Whether to translate hidden objects. |
- Returns
- true if a hidden object export setting was specified, false otherwise.
◆ ShowMultiProcessCount()
bool HPS.Exchange.TranslationOptionsKit.ShowMultiProcessCount |
( |
out uint |
out_count | ) |
|
|
inline |
Shows the multi-process count setting.
- Parameters
-
out_count | The number of processes to use when performing translation. |
- Returns
- true if a multi-process count setting was specified, false otherwise.
◆ ShowSewing()
bool HPS.Exchange.TranslationOptionsKit.ShowSewing |
( |
out bool |
out_state, |
|
|
out double |
out_tolerance |
|
) |
| |
|
inline |
Shows the sewing setting.
- Parameters
-
out_state | Whether to perform sewing for translation. |
out_tolerance | The sewing tolerance. Only valid if out_state is true. |
- Returns
- true if a sewing setting was specified, false otherwise.
◆ ShowSimplification()
Shows the simplification setting.
- Parameters
-
out_simplification | Whether to simplify geometry for translation. |
- Returns
- true if a simplification setting was specified, false otherwise.
◆ ShowSolidsAsFaces()
bool HPS.Exchange.TranslationOptionsKit.ShowSolidsAsFaces |
( |
out bool |
out_state | ) |
|
|
inline |
Shows the solids to faces conversion setting.
- Parameters
-
out_state | Whether to convert solids to a set of independent faces for translation. |
- Returns
- true if a solids to faces conversion setting was specified, false otherwise.
◆ ShowTessellation()
bool HPS.Exchange.TranslationOptionsKit.ShowTessellation |
( |
out bool |
out_state | ) |
|
|
inline |
Shows the tessellation translation setting.
- Parameters
-
out_state | Whether to export tessellation data. |
- Returns
- true if a tessellation export setting was specified, false otherwise.
◆ ShowVersion()
bool HPS.Exchange.TranslationOptionsKit.ShowVersion |
( |
out string |
out_version | ) |
|
|
inline |
Shows the version string setting.
- Parameters
-
out_version | The version string to put in the Parasolid data. |
- Returns
- true if a version string setting was specified, false otherwise.
◆ UnsetAccurateEdges()
◆ UnsetApplication()
◆ UnsetDisjointFaces()
◆ UnsetEntityMerging()
◆ UnsetEverything()
◆ UnsetExplodeMultiBodies()
◆ UnsetHealing()
◆ UnsetHiddenObjects()
◆ UnsetMultiProcessCount()
◆ UnsetSewing()
◆ UnsetSimplification()
◆ UnsetSolidsAsFaces()
◆ UnsetTessellation()
◆ UnsetVersion()
The documentation for this class was generated from the following file:
- internals/hps_sprk_exchange/source/cs/HPS.Exchange.cs