GeoCircle class
The GeoCircle class defines an geometric circle with radius. The class may be used to calculate coordinates on the circle given an angle in radians or degrees.
- Inheritance
-
- Object
- GeoEllipse
- GeoCircle
Properties
Methods
-
coordinate(
GeoAngle angle, [GeoCoordinate2D? center]) → GeoCoordinate2D -
Get coordinate on an ellipse centered at
center
at anangle
given in GeoAngle (either radian or degree). If center is not specified, origin (0,0) is assumed.inherited -
coordinateByDegree(
double angle, [GeoCoordinate2D? center]) → GeoCoordinate2D -
Get coordinate on an ellipse centered at
center
at anangle
given in degrees. If center is not specified, origin (0,0) is assumed.inherited -
coordinateByRadian(
double angle, [GeoCoordinate2D? center, double factor = 1.0]) → GeoCoordinate2D -
Get coordinate on an ellipse centered at
center
at anangle
given in radians. If center is not specified, origin (0,0) is assumed. Factorfactor
is multiplied with the amplitude at the angle to support polar chartinginherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
String representation of GeoCircle showing radius.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited