Click or drag to resize

GeoFenceDrawer Constructor

Initializes the GeoFence Drawer with an initial point a bearing/facing direction.

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.10.2.2
Syntax
C#
public Drawer(
	Coordinate coordinate,
	Shape earthShape,
	double initialBearing
)

Parameters

coordinate
Type: CoordinateSharpCoordinate
Starting Coordinate
earthShape
Type: CoordinateSharpShape
Earth Shape for calculations
initialBearing
Type: SystemDouble
Initial bearing or direction facing
Examples
The following example creates a GeoFence Drawer.
//Create a coordinate with EagerLoading off for efficiency during drawing.
Coordinate c = new Coordinate(31.65, -84.02, new EagerLoad(false));

//Create the GeoFence Drawer, specifying an ellipsoidal earth
//shape with a start bearing / direction faced of 0 degrees.
GeoFence.Drawer gd = new GeoFence.Drawer(c, Shape.Ellipsoid, 0);
See Also