< Rev API Docs

ViewShapeBuilder Methods

The ViewShapeBuilder type exposes the following members.

Methods
 NameDescription
Public methodAddCurve Add a curve to the GRep associated to this ViewShapeBuilder.
Public methodDispose
(Inherited from ShapeBuilder)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodReset Clears the accumulated geometry and resets other ViewShapeBuilder parameters to invalid values.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodValidateCurve(Curve) Validates curve to be added to the view-specific shape being constructed. Called by AddCurve() to validate input. Expects a valid view normal to be set prior to the call.
Public methodStatic memberValidateCurve(Curve, DirectShapeTargetViewType) Validates curve to be added to the view-specific shape being constructed. Called by AddCurve() to validate input. This function may be used to pre-validate the geometry being added to avoid AddCurve() throwing an InvalidArgumentException
Public methodStatic memberValidateShape 
Public methodStatic memberValidateViewType Validates the incoming view type. As of today, the only allowed view type is Plan.
Top
See Also