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 true if semantic attributes were added and false otherwise.
 
uint NumberOfAttributes ()
 Returns the number of added attributes.
 
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.

Member Function Documentation

◆ Dispose()

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

Reimplemented from cadex.PMI.SemanticComponent.