Hide menu
Loading...
Searching...
No Matches

Defines a component represented by a suface texture. More...

Inheritance diagram for cadex.PMI.SurfaceFinishComponent:
cadex.PMI.SemanticComponent cadex.BaseObject

Public Types

enum  MaterialRemovalType { Any , Required , Prohibited }
 
enum  LayDirectionType {
  Undefined , Parallel , Multidirectional , Perpendicular ,
  Circular , Particulate , Crossed , Radial
}
 

Public Member Functions

 SurfaceFinishComponent (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 SurfaceFinishComponent ()
 Constructor.
 
 SurfaceFinishComponent (cadex.PMI.SurfaceFinishComponent.MaterialRemovalType theValue)
 Constructor.
 
 SurfaceFinishComponent (cadex.PMI.SurfaceFinishComponent.MaterialRemovalType theValue, cadex.PMI.SurfaceFinishComponent.LayDirectionType theDirection, bool theAllAroundFlag, cadex.UTF16String theMethod)
 Constructor.
 
void SetMaterialRemoval (cadex.PMI.SurfaceFinishComponent.MaterialRemovalType theValue)
 Sets the type of the material removal.
 
cadex.PMI.SurfaceFinishComponent.MaterialRemovalType MaterialRemoval ()
 Returns the type of the material removal.
 
void SetLayDirection (cadex.PMI.SurfaceFinishComponent.LayDirectionType theDirection)
 Sets the type of the lay direction.
 
cadex.PMI.SurfaceFinishComponent.LayDirectionType LayDirection ()
 Returns the type of the lay direction.
 
void SetIsAllAround (bool theAllAroundFlag)
 Sets the all around flag.
 
bool IsAllAround ()
 Returns true if the same surface texture is required on all surfaces around a workpiece outline and false otherwise.
 
void SetManufacturingMethod (cadex.UTF16String theMethod)
 Sets the manufacturing method.
 
cadex.UTF16String ManufacturingMethod ()
 Returns the manufacturing method.
 
- Public Member Functions inherited from cadex.PMI.SemanticComponent
 SemanticComponent (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void AddAttribute (cadex.PMI.SemanticAttribute theAttribute)
 Adds the attribute.
 
cadex.Collections.PMISemanticAttributeList Attributes ()
 Returns the attributes.
 
bool HasAttributes ()
 Returns false if IsNull().
 
uint NumberOfAttributes ()
 Returns 0 if IsNull().
 
void Accept (cadex.PMI.SemanticAttributeVisitor theVisitor)
 Accepts the visitor.
 
void Accept (cadex.PMI.SemanticComponentVisitor theVisitor)
 Accepts the visitor.
 
- Public Member Functions inherited from cadex.BaseObject
 BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
bool IsNull ()
 
ulong Id ()
 Return unique identifier of public object.
 
bool IsEqual (cadex.BaseObject theObj)
 
override int GetHashCode ()
 
override bool Equals (System.Object o)
 

Static Public Member Functions

static new bool CompareType (cadex.BaseObject theObject)
 Returns true if theObject has the SurfaceFinishComponent type.
 
- Static Public Member Functions inherited from cadex.PMI.SemanticComponent
static bool CompareType (cadex.BaseObject theObject)
 Returns true if theObject has the SemanticComponent type.
 
static cadex.PMI.SemanticComponent Cast (cadex.BaseObject theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Detailed Description

Defines a component represented by a suface texture.

Specifies the texture of a surface through surface texture requirements, manufacturing method, surface lay and its orientation, possible machining allowance, etc.

Note
The component can store multiple SurfaceTextureRequirementAttribute, so SurfaceTextureRequirementAttribute.Precedence() method is used to determine the order of precedence (primary, secondary, tertiary, etc).
See also
SemanticElement, SurfaceTextureRequirementAttribute, MachiningAllowanceAttribute
Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

Constructor & Destructor Documentation

◆ SurfaceFinishComponent() [1/3]

cadex.PMI.SurfaceFinishComponent.SurfaceFinishComponent ( )
inline

Constructor.

◆ SurfaceFinishComponent() [2/3]

cadex.PMI.SurfaceFinishComponent.SurfaceFinishComponent ( cadex.PMI.SurfaceFinishComponent.MaterialRemovalType theValue)
inline

Constructor.

◆ SurfaceFinishComponent() [3/3]

cadex.PMI.SurfaceFinishComponent.SurfaceFinishComponent ( cadex.PMI.SurfaceFinishComponent.MaterialRemovalType theValue,
cadex.PMI.SurfaceFinishComponent.LayDirectionType theDirection,
bool theAllAroundFlag,
cadex.UTF16String theMethod )
inline

Constructor.

Member Function Documentation

◆ CompareType()

static new bool cadex.PMI.SurfaceFinishComponent.CompareType ( cadex.BaseObject theObject)
inlinestatic

Returns true if theObject has the SurfaceFinishComponent type.

◆ Dispose()

override void cadex.PMI.SurfaceFinishComponent.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.PMI.SemanticComponent.

◆ IsAllAround()

bool cadex.PMI.SurfaceFinishComponent.IsAllAround ( )
inline

Returns true if the same surface texture is required on all surfaces around a workpiece outline and false otherwise.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ LayDirection()

cadex.PMI.SurfaceFinishComponent.LayDirectionType cadex.PMI.SurfaceFinishComponent.LayDirection ( )
inline

Returns the type of the lay direction.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ ManufacturingMethod()

cadex.UTF16String cadex.PMI.SurfaceFinishComponent.ManufacturingMethod ( )
inline

Returns the manufacturing method.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ MaterialRemoval()

cadex.PMI.SurfaceFinishComponent.MaterialRemovalType cadex.PMI.SurfaceFinishComponent.MaterialRemoval ( )
inline

Returns the type of the material removal.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

◆ SetIsAllAround()

void cadex.PMI.SurfaceFinishComponent.SetIsAllAround ( bool theAllAroundFlag)
inline

Sets the all around flag.

◆ SetLayDirection()

void cadex.PMI.SurfaceFinishComponent.SetLayDirection ( cadex.PMI.SurfaceFinishComponent.LayDirectionType theDirection)
inline

Sets the type of the lay direction.

◆ SetManufacturingMethod()

void cadex.PMI.SurfaceFinishComponent.SetManufacturingMethod ( cadex.UTF16String theMethod)
inline

Sets the manufacturing method.

◆ SetMaterialRemoval()

void cadex.PMI.SurfaceFinishComponent.SetMaterialRemoval ( cadex.PMI.SurfaceFinishComponent.MaterialRemovalType theValue)
inline

Sets the type of the material removal.