ArcSegment2F Class |
Namespace: DigitalRune.Mathematics.Interpolation
The ArcSegment2F type exposes the following members.
Name | Description | |
---|---|---|
ArcSegment2F |
Initializes a new instance of the ArcSegment2F class.
|
Name | Description | |
---|---|---|
Create |
Creates an instance of the ArcSegment2F class. (This method reuses a
previously recycled instance or allocates a new instance if necessary.)
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Flatten |
Computes the points of a sequence of line segments which approximate the curve.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLength |
Computes the approximated length of the curve for the parameter interval
[start, end].
| |
GetPoint |
Computes a point on the curve.
| |
GetTangent |
Computes the tangent for a point on the curve.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Recycle |
Recycles this instance.
| |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
IsLargeArc |
Gets or sets a value that indicates whether the arc should be greater than 180 degrees.
| |
Point1 |
Gets or sets the start point.
| |
Point2 |
Gets or sets the end point.
| |
Radius |
Gets or sets the radii (semi-major and semi-minor axis) of the ellipse.
| |
RotationAngle |
Gets or sets the angle from the current x-axis to the x-axis of the ellipse.
| |
SweepClockwise |
Gets or sets a value indicating whether the arc is drawn in clockwise or counter-clockwise
direction.
|
The ArcSegment2F draws an elliptic arc between the start point Point1 and the end point Point2.
To draw a full ellipse, set Point1 equal to Point2 and IsLargeArc to . An ellipse will be drawn so that Point1 and Point2 lie on the positive x-axis of the ellipse.