Defines a PMI geometric tolerance component.
new GeometricToleranceComponent(
magnitude?,type?,toleranceZoneForm?):GeometricToleranceComponent
Creates a geometric tolerance component.
number = 0
Tolerance magnitude.
ToleranceType = ToleranceType.UNDEFINED_TOLERANCE
Tolerance type.
ToleranceZoneFormType = ToleranceZoneFormType.UNDEFINED
Tolerance zone form type.
GeometricToleranceComponent
readonlyattributes:Set<SemanticAttribute>
magnitude:
number=0
Tolerance magnitude.
toleranceZoneForm:
ToleranceZoneFormType=ToleranceZoneFormType.UNDEFINED
Tolerance zone form type.
type:
ToleranceType=ToleranceType.UNDEFINED_TOLERANCE
Tolerance type.
get id():
bigint
Returns the unique identifier of the object.
bigint
accept(
visitor):void
Accepts a semantic attribute visitor or semantic component visitor.
If the visitor is a SemanticComponentVisitor, it will invoke the SemanticComponentVisitor.visitGeometricToleranceComponent method. Else if the visitor is a SemanticAttributeVisitor, it will invoke the accept method of each attribute.
SemanticAttributeVisitor | SemanticComponentVisitor
Visitor to accept.
void
addAttribute(
attribute):void
Adds a semantic attribute.
Semantic attribute.
void
Use SemanticComponent.attributes and attributes.add instead.
SemanticComponent.addAttribute
hasAttributes():
boolean
Returns whether this component has attributes.
boolean
Use SemanticComponent.attributes and attributes.size > 0 instead.
SemanticComponent.hasAttributes
numberOfAttributes():
number
Returns the number of semantic attributes.
number
Use SemanticComponent.attributes and attributes.size instead.