Constructors
CircleF
#Create a new Circle.
Properties
Circumference
#Gets the circumference of this circle. Circles with negative radii will have negative circumferences.
Methods
CircumscribedCircle
#Gets the smallest circle which entirely contains the rectangle.
Parameters:
| rectangle (RectangleF) | Rectangle to contain. |
Returns: Circle.
ClosestPointOnDisc
#Gets the point on the circle disc closest to a locus point.
Parameters:
| point (PointF) | Locus point. |
Returns: Point on circle disc.
ClosestPointOnEdge
#Gets the point on the circle boundary closest to a locus point.
Parameters:
| point (PointF) | Locus point. |
Returns: Point on circle edge.
CompareTo
#Compare this circle to another.
Parameters:
| other (CircleF) | Circle to compare to. |
Returns: Sort order.
Contains
#Test whether this circle contains a point.
Parameters:
| point (PointF) | Point to test. |
Returns: True if the point is on or in this circle.
DistanceToDisc
#Gets the distance from a point to the boundary of the circle.
Parameters:
| point (PointF) | Point to measure. |
Returns: Distance from circle edge to point.
DistanceToEdge
#Gets the distance from a point to the boundary of the circle.
Parameters:
| point (PointF) | Point to measure. |
Returns: Distance from circle edge to point.
Divide
#Divide the circle into segments.
Parameters:
| deviation (double) | Maximum deviation between circle and polygon. |
Returns: Array of points. The first and last point are coincident.
Equals
#Compare one circle to another.
Parameters:
| other (CircleF) | Circle to compare to. |
Returns: True if circles are equals.
InscribedCircle
#Gets the biggest circle which exists entirely within the rectangle.
Parameters:
| rectangle (RectangleF) | Rectangle to fit into. |
Returns: Circle.
Offset
#Modify a circle by offsetting it.
Parameters:
| amount (float) | Amount to offset. |
Returns: Offsetted circle.
PointAt
#Gets the point on the circle at the given angle.
Parameters:
| angle (float) | Angle in degrees, clockwise starting from positive x. |
Returns: Point on circle.
PointIn
#Gets the point on the circle space at the given angle and offset.
Relation
#Solve the geometric relationship between a circle and a rectangle.
Parameters:
| a (CircleF) | Circle. |
| b (RectangleF) | Rectangle. |
Returns: Relationship.
ThroughPoints
#Fit a circle through three points.
Parameters:
| p0 (PointF) | First point. |
| p1 (PointF) | Second point. |
| p2 (PointF) | Third point. |
Returns: Fitted circle.
ThroughPoints
#Fit a circle through two points.
Parameters:
| p0 (PointF) | First point. |
| p1 (PointF) | Second point. |
Returns: Fitted circle.
ToString
#Gets a string representation of this circle.
Returns: Description.
Overrides: ValueType.ToString