2027 Members
Changes 0
M

ViewShapeBuilder Methods

Name Return Type Description Inherited From
M AddCurve(Curve) None Add a curve to the GRep associated to this ViewShapeBuilder.
M Dispose() None (Inherited from ShapeBuilder ) ShapeBuilder
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M Reset() None Clears the accumulated geometry and resets other ViewShapeBuilder parameters to invalid values.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
M ValidateCurve(Curve) Boolean 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.
M ValidateCurve(Curve, DirectShapeTargetViewType) Boolean 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
M ValidateShape(IList<GeometryObject>, DirectShapeTargetViewType) Boolean Validates a shape represented as a collection of geometry objects for use as a view-specific shape. The objects are expected to be either points, curves or polylines. Curves are expected to be flat and lie in a plane perpendicular to view normal as defined by view type.
M ValidateViewType(DirectShapeTargetViewType) Boolean Validates the incoming view type. As of today, the only allowed view type is Plan.