Abstract
Abstract
boundsAbstract
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
typeAbstract
xThe x coordinate of the Point. For a point that is defined in a geodetic spatial reference this property returns the longitude. Assigning to the x property of a point with a geodetic spatial reference will normalize the coordinate to the interval [-180, 180]. E.g. if you assign a value or 380 to the x property, it will be normalized to 20;
Abstract
yThe y coordinate of the Point. For a point that is defined in a geodetic spatial reference this property returns the latitude. Assigning to the y property of a point with a geodetic spatial reference will normalize the coordinate to the interval [-90, 90]. E.g. if you assign a value of 100 to the y property, it will be normalized to 90;
Abstract
zThe z coordinate of the Point. The z coordinate typically corresponds with height.
Determines 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
Please use contains2DPoint instead.
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
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
InvalidReferenceError when a point has 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
move2DToMoves this Point to another location. This Point will be moved to the same location of the Point that was passed. The z coordinate of the point that was passed will be ignored.
InvalidReferenceError when the reference of the Point parameter does not correspond with the reference of this Point.
Abstract
move3DToMoves this point to the same location of the given Point.
InvalidReferenceError when the reference of the Point parameter does not correspond with the reference of this Point.
Abstract
toTranslates this Point from its current position over the given translation vector to another location. This method can be called with an x, y and optionally a z value. If the z coordinate is not specified, the translation will only affect the x and y coordinate.
x coordinate value
y coordinate value
Optional
z: numberz coordinate value, may be omitted.
Abstract
translate2DAbstract
translate3D
Represents a point in 3 (x, y, z) dimensions in the context of a spatial reference. A ShapeFactory module. For a geodetic spatial reference, the
x
andy
properties correspond with longitude and latitude on the ellipsoid. Note: If latitude (they
property in this context) for a geodetic point is initially set outside the valid range of [-90, 90] degrees, it is automatically clamped to this range for accuracy. For projected spatial references, thex
andy
properties correspond with thex
andy
axes in Cartesian space. Thez
property always corresponds with height.