FEllipse Class

Definition of an ellipse and its supporting characteristics.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2820.4317
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.
Rotation Get/Set the current absolute rotation of the shape, in radians.

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(FVector2, 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.
GetPointOnEllipseEdge Return a reference the specified point on the edge of the ellipse that corresponds to the reference point given.
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 edge of the ellipse.
GetVerticesInArc Return the vertices of the edge of the ellipse, along the arc, beginning at the starting angle and moving through specified sweep.
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.
IsPointOnEllipse Return a value indicating whether the specified point is on the provided ellipse.
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.
OnRotationChanged Raises the RotationChanged event when the value of the Rotation property has changed.
OnShapeChanged Raises the ShapeChanged event when a notable property of the shape 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.
TryPlaceEllipseEdgeOnLine Attempt to place the edge of the provided ellipse on the supplied line such that both points of the line touch the edge.

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.
RotationChanged Fired when the value of the shape's Rotation property has changed.
ShapeChanged Fired when a notable property of the shape has changed.

See Also