Summary
Encapsulates a double-precision circle.
Constructors
CircleD(double x, double y, double rad) |
Initialises a new CircleD with the specified center co-ordinates and radius. |
|
Instance methods
bool | |
Determines whether this circle contains the specified point. |
ValueTuple<CircleD, CircleD>? | |
Given this circle and another circle, tries to find a third and fourth circle with a given target radius such
that the new circles are both tangent to the first two. |
RectangleD | | Returns the rectangle that fully encloses this circle. |
string | |
Provides a string representation of the current CircleD. |
Static methods
CircleD | |
Returns the circle that has all three given points in its perimeter. |
CircleD | |
Returns the smallest circle that encloses all the given points. If 1 point is given, a circle of radius 0 is
returned. |
Instance fields
PointD | | Center of the circle. |
double | | Radius of the circle. |