Click or drag to resize

Ellipse Structure

Represents the values of a plane and the two semi-axes radii in an ellipse.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
public struct Ellipse : IEpsilonComparable<Ellipse>, 

The Ellipse type exposes the following members.

Public methodEllipse(Plane, Double, Double)
Initializes a new ellipse from base plane and both principal radii.
Public methodEllipse(Point3d, Point3d, Point3d)
Initializes a new ellipse from a center point and the two semi-axes intersections.
Public propertyCenter
Gets or sets the center of the ellipse.
Public propertyFocalDistance
Gets the distance from the center to a focus.
Public propertyIsValid
Returns an indication of the validity of this ellipse.
Public propertyPlane
Gets or sets the base plane of the ellipse.
Public propertyRadius1
Gets or sets the radius of the ellipse along the base plane X semi-axis.
Public propertyRadius2
Gets or sets the radius of the ellipse along the base plane Y semi-axis.
Public methodEpsilonEquals
Check that all values in other are within epsilon of the values in this
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetFoci
Gets the foci. The foci are two points whose sum of distances from any point on the ellipse is always the same.
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToNurbsCurve
Constructs a nurbs curve representation of this ellipse.

This is equivalent to calling NurbsCurve.CreateFromEllipse().

Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
See Also