Ellipse
A whole or partial ellipse.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Curve
Autodesk.Revit.DB.Ellipse
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class Ellipse : Curve
The Ellipse type exposes the following members.
Properties
Name
Description
Public Property
ApproximateLength
The approximate length of the curve.
(Inherited from Curve)
Public Property
Center
Returns the center of the ellipse.
Public Property
Code Example
GraphicsStyleId
The ElementId of the GeometryObject’s GraphicsStyle
(Inherited from GeometryObject)
Public Property
Id
A unique integer identifying the GeometryObject in its associated non view-specific GeometryElement.
(Inherited from GeometryObject)
Public Property
IsBound
Describes whether the parameter of the curve is restricted to a particular interval.
(Inherited from Curve)
Public Property
IsClosed
Describes whether the curve is closed.
(Inherited from Curve)
Public Property
IsCyclic
The boolean value that indicates whether this curve is cyclic.
(Inherited from Curve)
Public Property
IsElementGeometry
Indicates whether this geometry is obtained directly from an Element.
(Inherited from GeometryObject)
Public Property
Code Example
IsReadOnly
Identifies if the object is read-only or modifiable.
(Inherited from APIObject)
Public Property
Length
The exact length of the curve.
(Inherited from Curve)
Public Property
Normal
Returns the normal to the plane in which the ellipse is defined.
Public Property
Period
The period of this curve.
(Inherited from Curve)
Public Property
RadiusX
Returns the X vector radius of the ellipse.
Public Property
RadiusY
Returns the Y vector radius of the ellipse.
Public Property
Reference
Returns a stable reference to the curve.
(Inherited from Curve)
Public Property
Visibility
The visibility.
(Inherited from GeometryObject)
Public Property
XDirection
The X direction.
Public Property
YDirection
The Y direction.
Methods
Name
Description
Public Method
Clone
Returns a copy of this curve.
(Inherited from Curve)
Public Method
ComputeClosestPoints
Find the closest points between two curves. Closest points mean closest pairs of points, each pair consisting of a point on this, say P1, and a point on other curve, say P2. P1 and P2 are closest locally. Each pairs of closest points will be represented by the corresponding parameter values with respect to the two curves and the 3d points. A closest pair is also known as a pair of critical points of the distance function between points of the two curves. If the input parameter returnAllCriticalPoints is set to false, then the function will return only pairs with minimum distance.
(Inherited from Curve)
Public Method
ComputeDerivatives
Returns the vectors describing the curve at the specified parameter.
(Inherited from Curve)
Public Method
ComputeNormalizedParameter
Computes the normalized curve parameter from the raw parameter.
(Inherited from Curve)
Public Method
ComputeRawParameter
Computes the raw parameter from the normalized parameter.
(Inherited from Curve)
Public Method
Static Member
CreateCurve
Creates a new geometric ellipse or elliptical arc object.
Public Method
CreateOffset
Creates a new curve that is an offset of the existing curve.
(Inherited from Curve)
Public Method
CreateReversed
Creates a new curve with the opposite orientation of the existing curve.
(Inherited from Curve)
Public Method
CreateTransformed
Crates a new instance of a curve as a transformation of this curve.
(Inherited from Curve)
Public Method
Dispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public Method
Distance
Returns the shortest distance from the specified point to this curve.
(Inherited from Curve)
Public Method
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from GeometryObject)
Public Method
Evaluate
Evaluates and returns the point that matches a parameter along the curve.
(Inherited from Curve)
Public Method
GetEndParameter
Returns the raw parameter value at the start or end of this curve.
(Inherited from Curve)
Public Method
GetEndPoint
Returns the 3D point at the start or end of this curve.
(Inherited from Curve)
Public Method
GetEndPointReference
Returns a stable reference to the start point or the end point of the curve.
(Inherited from Curve)
Public Method
GetHashCode
Gets the integer value of the geometry object as hash code
(Inherited from GeometryObject)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
Intersect(Curve)
Calculates the intersection of this curve with the specified curve.
(Inherited from Curve)
Public Method
Intersect(Curve, IntersectionResultArray.)
Calculates the intersection of this curve with the specified curve and returns the intersection results.
(Inherited from Curve)
Public Method
IsInside(Double)
Indicates whether the specified parameter value is within this curve’s bounds.
(Inherited from Curve)
Public Method
IsInside(Double, Int32.)
Indicates whether the specified parameter value is within this curve’s bounds and outputs the end index.
(Inherited from Curve)
Public Method
MakeBound
Changes the bounds of this curve to the specified values.
(Inherited from Curve)
Public Method
MakeUnbound
Makes this curve unbound.
(Inherited from Curve)
Public Method
Project
Projects the specified point on this curve.
(Inherited from Curve)
Public Method
SetGraphicsStyleId
Sets the graphics style id for this curve.
(Inherited from Curve)
Public Method
Tessellate
Valid only if the curve is bound. Returns a polyline approximation to the curve.
(Inherited from Curve)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)