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

Constructors

GeoCircle(double radius)
Constructor of GeoCircle

Properties

hashCode int
The hash code for this object.
no setterinherited
radius double
The radious of a circle
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xRadius double
finalinherited
yRadius double
finalinherited

Methods

coordinate(GeoAngle angle, [GeoCoordinate2D? center]) GeoCoordinate2D
Get coordinate on an ellipse centered at center at an angle 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 an angle 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 an angle given in radians. If center is not specified, origin (0,0) is assumed. Factor factor is multiplied with the amplitude at the angle to support polar charting
inherited
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