Class Ellipse2d
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class Ellipse2d : IParametricCurve2d
Constructors
Ellipse2d(Vector2d, Vector2d, Vector2d, Vector2d)
Declaration
public Ellipse2d(Vector2d center, Vector2d axis0, Vector2d axis1, Vector2d extent)
Parameters
Ellipse2d(Vector2d, Vector2d, Vector2d, Double, Double)
Declaration
public Ellipse2d(Vector2d center, Vector2d axis0, Vector2d axis1, double extent0, double extent1)
Parameters
Ellipse2d(Vector2d, Double, Double, Double)
Declaration
public Ellipse2d(Vector2d center, double rotationAngleDeg, double extent0, double extent1)
Parameters
Fields
Axis0
Declaration
Field Value
Axis1
Declaration
Field Value
Center
Declaration
Field Value
Extent
Declaration
Field Value
IsReversed
Declaration
Field Value
Properties
ApproxArcLen
Declaration
public double ApproxArcLen { get; }
Property Value
ArcLength
Declaration
public double ArcLength { get; }
Property Value
Area
Declaration
public double Area { get; }
Property Value
HasArcLength
Declaration
public bool HasArcLength { get; }
Property Value
IsClosed
Declaration
public bool IsClosed { get; }
Property Value
Declaration
public bool IsTransformable { get; }
Property Value
ParamLength
Declaration
public double ParamLength { get; }
Property Value
Methods
Clone()
Declaration
public IParametricCurve2d Clone()
Returns
Contains(Vector2d)
Declaration
public bool Contains(Vector2d point)
Parameters
Returns
Evaluate(Vector2d)
Declaration
public double Evaluate(Vector2d point)
Parameters
Returns
FromCoefficients(Matrix2d, Vector2d, Double)
Declaration
public bool FromCoefficients(Matrix2d A, Vector2d B, double C)
Parameters
Returns
FromCoefficients(Double[])
Declaration
public bool FromCoefficients(double[] coeff)
Parameters
Type |
Name |
Description |
Double[] |
coeff |
|
Returns
GetM()
Declaration
Returns
GetMInverse()
Declaration
public Matrix2d GetMInverse()
Returns
Reverse()
Declaration
SampleArcLength(Double)
Declaration
public Vector2d SampleArcLength(double a)
Parameters
Type |
Name |
Description |
Double |
a |
|
Returns
SampleDeg(Double)
Declaration
public Vector2d SampleDeg(double degrees)
Parameters
Type |
Name |
Description |
Double |
degrees |
|
Returns
SampleRad(Double)
Declaration
public Vector2d SampleRad(double radians)
Parameters
Type |
Name |
Description |
Double |
radians |
|
Returns
SampleT(Double)
Declaration
public Vector2d SampleT(double t)
Parameters
Type |
Name |
Description |
Double |
t |
|
Returns
TangentT(Double)
Declaration
public Vector2d TangentT(double t)
Parameters
Type |
Name |
Description |
Double |
t |
|
Returns
ToCoefficients()
Declaration
public double[] ToCoefficients()
Returns
ToCoefficients(ref Matrix2d, ref Vector2d, ref Double)
Declaration
public void ToCoefficients(ref Matrix2d A, ref Vector2d B, ref double C)
Parameters
Declaration
public void Transform(ITransform2 xform)
Parameters
Implements