Class Circle2d
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class Circle2d : IParametricCurve2d
Constructors
Circle2d(Vector2d, Double)
Declaration
public Circle2d(Vector2d center, double radius)
Parameters
Circle2d(Double)
Declaration
public Circle2d(double radius)
Parameters
Type |
Name |
Description |
Double |
radius |
|
Fields
Center
Declaration
Field Value
IsReversed
Declaration
Field Value
Radius
Declaration
Field Value
Properties
ArcLength
Declaration
public double ArcLength { get; }
Property Value
Area
Declaration
public double Area { get; set; }
Property Value
Bounds
Declaration
public AxisAlignedBox2d Bounds { get; }
Property Value
Circumference
Declaration
public double Circumference { get; set; }
Property Value
Curvature
Declaration
public double Curvature { get; }
Property Value
Diameter
Declaration
public double Diameter { get; set; }
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
SignedCurvature
Declaration
public double SignedCurvature { get; }
Property Value
Methods
BoundingPolygonRadius(Double, Int32)
Radius of n-sided regular polygon that contains circle of radius r
Declaration
public static double BoundingPolygonRadius(double r, int n)
Parameters
Returns
Clone()
Declaration
public IParametricCurve2d Clone()
Returns
Contains(Vector2d)
Declaration
public bool Contains(Vector2d p)
Parameters
Returns
Distance(Vector2d)
Declaration
public double Distance(Vector2d pt)
Parameters
Returns
RadiusArea(Double)
Declaration
public static double RadiusArea(double r)
Parameters
Type |
Name |
Description |
Double |
r |
|
Returns
RadiusCircumference(Double)
Declaration
public static double RadiusCircumference(double r)
Parameters
Type |
Name |
Description |
Double |
r |
|
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
SignedDistance(Vector2d)
Declaration
public double SignedDistance(Vector2d pt)
Parameters
Returns
TangentT(Double)
Declaration
public Vector2d TangentT(double t)
Parameters
Type |
Name |
Description |
Double |
t |
|
Returns
Declaration
public void Transform(ITransform2 xform)
Parameters
Implements