Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Struct: RT.Util.Geometry.CircleD

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.
CircleD(PointD center, double rad)

Instance methods

bool Determines whether this circle contains the specified point.
ValueTuple<CircleD, CircleD>?
FindTangentCircles(CircleD other, double targetRadius)
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.
RectangleDReturns the rectangle that fully encloses this circle.
string
  • Overrides: object.ToString()
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. (see also remarks)

Instance fields

PointDCenter of the circle.
doubleRadius of the circle.