FEllipse Class

Definition of an ellipse and its supporting characteristics.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public class FEllipse
Inheritance
Object    FEllipse

Remarks

The general form of an ellipse is:

((x - h)2 / a2) + ((y - k)2 / b2) = 1

... where h and k are the center coordinate, a is the x radius, and b is the y radius.

If center X, Y is -5, 2, the X radius is 3, and the Y radius is 4, the same equation can be written as:

((x + 5)2 / 9 + ((y - 2)2 / 16

The focal points are found using c2 = b2 - a2

... meaning c = Sqrt(Pow(RadiusY, 2) - Pow(RadiusX, 2)).

The focal points are placed on the major of the two axes, if one is found, otherwise, on the X axis.

Constructors

FEllipse Create a new instance of the FEllipse Item.
FEllipse(Single, Single, Single, Single) Create a new instance of the FEllipse Item.

Properties

Center Get/Set a reference to the center coordinate.
FocalPoint1 Get a reference to the first focal point.
FocalPoint2 Get a reference to the second focal point.
RadiusX Get/Set the X-axis radius.
RadiusY Get/Set the Y-axis radius.

Methods

BoundingBox(FEllipse) Return the bounding box of the specified ellipse.
BoundingBox(ListFEllipse) Return the bounding box that contains all of the specified ellipses.
Clear Clear the ellipse.
Clone Create a deep clone of the caller's ellipse.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
FindIntersections(FEllipse, FLine, Boolean) Return an array of coordinates containing zero or more intersections between the edge of the ellipse and a provided line.
FindIntersections(FPoint, Single, Single, FLine, Boolean) Return an array of coordinates containing zero or more intersections between the edge of the ellipse and a provided line.
GetArea Return the area in the caller's ellipse.
GetCoordinateAtAngle Return a coordinate of the edge of the shape at the specified angle.
GetHashCode
(Inherited from Object)
GetLines Return a collection of discrete lines representing the supplied ellipse.
GetPerimeter Return the perimeter of the shape.
GetStringLength Return the length of the string between the two focal points used to draw the entire perimeter.
GetType
(Inherited from Object)
GetVertices Return the vertices of the area.
HasVolume Return a value indicating whether the specified ellipse has a usable volume.
IsDifferent Return a value indicating whether the values of the two ellipses are different.
IsEmpty Return a value indicating whether the provided ellipse is empty.
MemberwiseClone
(Inherited from Object)
OnCenterChanged Raises the CenterChanged event when the center value has changed.
OnRadiusXChanged Raises the RadiusX changed event when the value of the RadiusX property has changed.
OnRadiusYChanged Raises the RadiusY changed event when the value of the RadiusY property has changed.
Scale(FEllipse, FEllipse) Return the scale factor between the two ellipses.
Scale(FEllipse, Single) Return the scaled version of the provided ellipse with the specified scale.
ToString
(Inherited from Object)
TransferValues Transfer the member values from the source to the target, raising any associated events where appropriate.

Events

CenterChanged Fired when the center of the ellipse has changed.
RadiusXChanged Fired when the x-axis radius value has changed.
RadiusYChanged Fired when the y-axis radius value has changed.

See Also