2027 Class
Changes 0
C

CurveByPointsUtils

Description:
A static class that contains methods for processing curves driven by points.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.CurveByPointsUtils
public class CurveByPointsUtils : IDisposable
Name Return Type Description Inherited From
M AddCurvesToFaceRegion(Document, IList<ElementId>) None Adds The CurveElements to one or more FaceRegions.
M CreateArcThroughPoints(Document, ReferencePoint, ReferencePoint, ReferencePoint) CurveElement Creates an arc through the given reference points.
M CreateRectangle(Document, ReferencePoint, ReferencePoint, CurveProjectionType, Boolean, Boolean, IList<ElementId>, IList<ElementId>) None Creates rectangle on face or sketchplane for two given diagonal points.
M Dispose() None Releases all resources used by the CurveByPointsUtils
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetFaceRegions(Document, Reference) IList<Reference> Gets the FaceRegions in the existing face.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetHostFace(CurveElement) Reference Gets the host face to which the CurveElement is added.
M GetProjectionType(CurveElement) CurveProjectionType Gets the projection type of the CurveElement.
M GetSketchOnSurface(CurveElement) Boolean Gets the relationship between the CurveElement and face.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M SetProjectionType(CurveElement, CurveProjectionType) None Sets the projection type of the CurveElement.
M SetSketchOnSurface(CurveElement, Boolean) None Sets the relationship between the CurveElement and face.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
M ValidateCurveElementIdArrayForFaceRegions(Document, IList<ElementId>) Boolean Validates that the input CurveElements can define FaceRegions. The CurveElements must be CurveByPoints. Each curve must be entirely hosted by a single Face or hosts related to a common Face (for example, Edges of a common Face, other CurveElements hosted by a common Face). To be added to the FaceRegion definition, a CurveElement must have the SketchOnSurface attribute set.
Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.