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 ()
 
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 
bool HasType (HPS.Type in_mask)
 
Object (HPS.Object that)
 
virtual HPS.Type ObjectType ()
 
virtual void Reset ()
 
virtual HPS.Type Type ()
 

Static Public Member Functions

static HPS.Parasolid.CADModel CreateCADModel (HPS.Model in_model)
 
static HPS.Parasolid.CADModel CreateCADModel ()
 
static HPS.Parasolid.Component CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type, int in_entity)
 
static HPS.Parasolid.Component CreateComponent (HPS.Component in_owner, HPS.Component.ComponentType in_type)
 
static HPS.Parasolid.Component DeInstanceComponent (HPS.ComponentPath in_component_path)
 
- 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