A simple point class with x and y coordinates.
Creates a deep copy of this point.
The new cloned point.
Creates new n-sided polygon around this point.
Distance to polygon points.
The generated polygon.
Creates a point from this point offset by a given x and y distance.
The x offset.
The y offset.
The offset point.
Computes distance between this point and a given point in projected map units.
Point to which to compute distance.
number
Distance from this point to the given point in projected map units.
Equality comparer between this point and a given reference point.
Reference point.
boolean
Result of the equality test.
Returns this point's bounding box.
The bounding box of the point as an envelope.
Returns the x coordinate.
number
The x coordinate.
Returns the y coordinate.
number
The y coordinate.
Returns the x and y coordinates of this point as a pointObject.
Representaton of this point as an pointObject.
Gets the wkt representation of this point.
string
The well known text for this point.
Computes the distance between two points in coordinate units.
The x coordinate for the first point.
The y coordinate for the first point.
The x coordinate for the second point.
The y coordinate for the second point.
number
Distance in coordinate units.
Computes the midpoint of two points.
The x coordinate for the first point.
The y coordinate for the first point.
The x coordinate for the second point.
The y coordinate for the second point.
Midpoint point.