Click or drag to resize
DigitalRuneArcSegment2F Class
Defines a 2-dimensional elliptic arc segment (single-precision).
Inheritance Hierarchy
SystemObject
  DigitalRune.Mathematics.InterpolationArcSegment2F

Namespace: DigitalRune.Mathematics.Interpolation
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public class ArcSegment2F : ICurve<float, Vector2F>, 
	IRecyclable

The ArcSegment2F type exposes the following members.

Constructors
  NameDescription
Public methodArcSegment2F
Initializes a new instance of the ArcSegment2F class.
Top
Methods
  NameDescription
Public methodStatic memberCreate
Creates an instance of the ArcSegment2F class. (This method reuses a previously recycled instance or allocates a new instance if necessary.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFlatten
Computes the points of a sequence of line segments which approximate the curve.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLength
Computes the approximated length of the curve for the parameter interval [start, end].
Public methodGetPoint
Computes a point on the curve.
Public methodGetTangent
Computes the tangent for a point on the curve.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRecycle
Recycles this instance.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyIsLargeArc
Gets or sets a value that indicates whether the arc should be greater than 180 degrees.
Public propertyPoint1
Gets or sets the start point.
Public propertyPoint2
Gets or sets the end point.
Public propertyRadius
Gets or sets the radii (semi-major and semi-minor axis) of the ellipse.
Public propertyRotationAngle
Gets or sets the angle from the current x-axis to the x-axis of the ellipse.
Public propertySweepClockwise
Gets or sets a value indicating whether the arc is drawn in clockwise or counter-clockwise direction.
Top
Remarks

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.

See Also