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

Defines a PMI surface finish component.

Extends

Constructors

Constructor

‍new SurfaceFinishComponent(materialRemoval?, layDirection?, isAllAround?, manufacturingMethod?): SurfaceFinishComponent

Creates a surface finish component.

Parameters

materialRemoval?

MaterialRemovalType = MaterialRemovalType.ANY

Material removal type.

layDirection?

LayDirectionType = LayDirectionType.UNDEFINED

Lay direction.

isAllAround?

boolean = false

All-around flag.

manufacturingMethod?

string = ‘’'`

Manufacturing method.

Returns

SurfaceFinishComponent

Overrides

SemanticComponent.constructor

Properties

attributes

‍readonly attributes: Set<SemanticAttribute>

Inherited from

SemanticComponent.attributes


isAllAround

‍isAllAround: boolean = false

All-around flag.


layDirection

‍layDirection: LayDirectionType = LayDirectionType.UNDEFINED

Lay direction.


manufacturingMethod

‍manufacturingMethod: string = ‘’'`

Manufacturing method.


materialRemoval

‍materialRemoval: MaterialRemovalType = MaterialRemovalType.ANY

Material removal type.

Accessors

id

Get Signature

‍get id(): bigint

Returns the unique identifier of the object.

Returns

bigint

Inherited from

SemanticComponent.id

Methods

accept()

‍accept(visitor): void

Accepts a semantic attribute visitor or semantic component visitor.

If the visitor is a SemanticComponentVisitor, it will invoke the SemanticComponentVisitor.visitSurfaceFinishComponent method. Else if the visitor is a SemanticAttributeVisitor, it will invoke the accept method of each attribute.

Parameters

visitor

SemanticAttributeVisitor | SemanticComponentVisitor

Visitor to accept.

Returns

void

Overrides

SemanticComponent.accept


addAttribute()

‍addAttribute(attribute): void

Adds a semantic attribute.

Parameters

attribute

SemanticAttribute

Semantic attribute.

Returns

void

Deprecated

Use SemanticComponent.attributes and attributes.add instead.

Inherited from

SemanticComponent.addAttribute


hasAttributes()

‍hasAttributes(): boolean

Returns whether this component has attributes.

Returns

boolean

Deprecated

Use SemanticComponent.attributes and attributes.size > 0 instead.

Inherited from

SemanticComponent.hasAttributes


numberOfAttributes()

‍numberOfAttributes(): number

Returns the number of semantic attributes.

Returns

number

Deprecated

Use SemanticComponent.attributes and attributes.size instead.

Inherited from

SemanticComponent.numberOfAttributes