public class ArcBuilder extends Object
Constructor and Description |
---|
ArcBuilder() |
Modifier and Type | Method and Description |
---|---|
static MVCArray |
buildArcPoints(LatLong center,
double startBearing,
double endBearing,
double radius)
Generates the points for an arc based on two bearings from a centre point
and a radius.
|
static MVCArray |
buildArcPoints(LatLong center,
LatLong start,
LatLong end) |
static PolygonOptions |
buildClosedArc(LatLong center,
LatLong start,
LatLong end,
javafx.scene.shape.ArcType arcType)
Builds the path for a closed arc, returning a PolygonOptions that can be
further customised before use.
|
static PolylineOptions |
buildOpenArc(LatLong center,
LatLong start,
LatLong end)
Builds the path for an open arc based on a PolylineOptions.
|
public static final PolygonOptions buildClosedArc(LatLong center, LatLong start, LatLong end, javafx.scene.shape.ArcType arcType)
center
- start
- end
- arcType
- Pass in either ArcType.CHORD or ArcType.ROUNDpublic static final PolylineOptions buildOpenArc(LatLong center, LatLong start, LatLong end)
center
- start
- end
- public static final MVCArray buildArcPoints(LatLong center, LatLong start, LatLong end)
public static final MVCArray buildArcPoints(LatLong center, double startBearing, double endBearing, double radius)
center
- The LatLong point of the center.startBearing
- North is 0 degrees, East is 90 degrees, etc.endBearing
- North is 0 degrees, East is 90 degrees, etc.radius
- In metresCopyright © 2016. All Rights Reserved.