More...

Inheritance diagram for HPS.Parasolid.Factory:
HPS.Sprocket HPS.Object

Public Member Functions

override void Dispose ()
 
 Factory (HPS.Parasolid.Factory in_that)
 
- Public Member Functions inherited from HPS.Sprocket
 Sprocket (HPS.Sprocket in_that)
 
- Public Member Functions inherited from HPS.Object
virtual bool Empty ()
 Indicates whether this object has any values set on it. More...
 
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 Returns the object's database handle, which can be used to determine which instance of a class the object is. For example, controls are simply aliases for segment keys that group related functions. Therefore, a SegmentKey and all of its controls would return the same instance id. Different keys and controls will return the same value if they are backed by the same database resource. More...
 
bool HasType (HPS.Type in_mask)
 This function indicates whether this Object has the given Type mask. More...
 
 Object (HPS.Object that)
 
virtual 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). More...
 
virtual void Reset ()
 Resets this object to its initial, uninitialized state. More...
 
virtual HPS.Type Type ()
 This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More...
 

Static Public Member Functions

static HPS.Parasolid.CADModel CreateCADModel (HPS.Model in_model)
 Creates a new Parasolid.CADModel. More...
 
static HPS.Parasolid.CADModel CreateCADModel ()
 Creates a new Parasolid.CADModel. More...
 
static 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. More...
 
static 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. More...
 
static 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. More...
 
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The Factory class is used to create Parasolid objects which inherit from HPS.Component or one of its subclasses.

Member Function Documentation

◆ CreateCADModel() [1/2]

static HPS.Parasolid.CADModel HPS.Parasolid.Factory.CreateCADModel ( HPS.Model  in_model)
inlinestatic

Creates a new Parasolid.CADModel.

Parameters
in_modelThe Model associated with the Parasolid.CADModel.

◆ CreateCADModel() [2/2]

static HPS.Parasolid.CADModel HPS.Parasolid.Factory.CreateCADModel ( )
inlinestatic

Creates a new Parasolid.CADModel.

◆ CreateComponent() [1/2]

static HPS.Parasolid.Component HPS.Parasolid.Factory.CreateComponent ( HPS.Component  in_owner,
HPS.Component.ComponentType  in_type,
int  in_entity 
)
inlinestatic

Creates a new Parasolid.Component as a subcomponent of a given Component.

Parameters
in_ownerThe HPS.Component which owns the newly created Parasolid.Component.
in_typeThe type of Parasolid.Component to create.
in_entityThe Parasolid entity associated with the newly created Parasolid.Component.

◆ CreateComponent() [2/2]

static HPS.Parasolid.Component HPS.Parasolid.Factory.CreateComponent ( HPS.Component  in_owner,
HPS.Component.ComponentType  in_type 
)
inlinestatic

Creates a new Parasolid.Component as a subcomponent of a given Component.

Parameters
in_ownerThe HPS.Component which owns the newly created Parasolid.Component.
in_typeThe type of Parasolid.Component to create.

◆ DeInstanceComponent()

static HPS.Parasolid.Component HPS.Parasolid.Factory.DeInstanceComponent ( HPS.ComponentPath  in_component_path)
inlinestatic

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.

Parameters
in_component_pathThe ComponentPath to operate on.
Returns
The newly de-instanced Component.

The documentation for this class was generated from the following file:
  • internals/hps_sprk_parasolid/source/cs/HPS.Parasolid.cs