Autodesk.Revit.DB.ModelEllipse
The Autodesk.Revit.DB.ModelEllipse class represents an ellipse-shaped curve in a Revit model.
Properties
Center
- Data Type: Autodesk.Revit.DB.XYZ
- Description: Gets or sets the center point of the ellipse.
MajorAxis
- Data Type: Autodesk.Revit.DB.XYZ
- Description: Gets or sets the vector that defines the major axis of the ellipse.
MinorAxis
- Data Type: Autodesk.Revit.DB.XYZ
- Description: Gets or sets the vector that defines the minor axis of the ellipse.
Normal
- Data Type: Autodesk.Revit.DB.XYZ
- Description: Gets or sets the vector that defines the direction perpendicular to the plane of the ellipse.
IsBound
- Data Type: System.Boolean
- Description: Gets or sets a value that indicates whether the ellipse is bound or unbound.
ParameterizedLength
- Data Type: System.Double
- Description: Gets or sets the parameterized length of the ellipse.
CurveLength
- Data Type: System.Double
- Description: Gets the length of the curve that represents the ellipse.
Methods
Clone
- Description: Creates a copy of the current Autodesk.Revit.DB.ModelEllipse object.
Intersect
- Parameters:
- otherCurve (Autodesk.Revit.DB.Curve): The curve to intersect with the ellipse.
- tolerance (System.Double): The tolerance value for intersection.
- Returns: Autodesk.Revit.DB.Set<Autodesk.Revit.DB.IntersectionResult>
- Description: Computes the intersection between the ellipse and the specified curve.
Tessellate
- Parameters:
- tolerance (System.Double): The tolerance value for tessellation.
- Returns: Autodesk.Revit.DB.ICurve
- Description: Tessellates the ellipse into a curve that approximates the shape of the ellipse.
Project
- Parameters:
- targetPlane (Autodesk.Revit.DB.Plane): The plane to project the ellipse onto.
- Returns: Autodesk.Revit.DB.Curve
- Description: Projects the ellipse onto the specified plane.
Remarks
The Autodesk.Revit.DB.ModelEllipse class is used to represent ellipses in Revit models. The properties of the class define the properties of the ellipse, such as its center, major axis, and minor axis. The class also provides methods for computing intersections between the ellipse and other curves, tessellating the ellipse into a curve, and projecting the ellipse onto a specified plane.