Abstract
Abstract
boundsThe bounds of this shape. This property is to be treated in a read only manner. An error will be thrown when trying to assign to this property. Note that the bounds property is not immutable. Modifying properties of the bounds property may corrupt your data.
Abstract
coordinateThe coordinate type this shape. This property is read only. An Error will be thrown when trying to assign to this property.
Abstract
focusThe focus point of this shape. This property is read only. An error will be thrown when trying to assign to this property. This property contains an object but should be treated with value semantics: changes to the shape will not be reflected in the focusPoint that was retrieved from this Polygon before the modification.
The spatial reference of this shape. This property is read only. An Error will be thrown when trying to assign to this property.
Abstract
typeDetermines whether a given point is inside this shape. This method checks containment only in two dimensions: on the (x,y)-axis or the (lon,lat)-axis (depending on the spatial reference of the shape).
true
when the given point is contained in this shape
Abstract
contains2DCoordinatesDetermines whether the given point is inside this shape. This method checks containment only in two dimensions: on the (x,y)-axis or the (lon,lat)-axis (depending on the spatial reference of the shape).
The x coordinate of the point for which containment must be checked
The y coordinate of the point for which containment must be checked
true
when the given point is contained in this shape
Point with another spatial reference
Determines whether the given point is inside this shape. This method checks containment only in two dimensions: on the (x,y)-axis or the (lon,lat)-axis (depending on the spatial reference of the shape).
The point for which containment must be checked.
true
when the given point is contained in this shape
Point with another spatial reference
Abstract
copyAbstract
equalsIndicates whether this shape is equal to another.
the other shape this shape is compared with.
true
if both shapes are equal, false
otherwise.
Abstract
toAbstract
translate2D
Shape interface. Each shape realizes this interface