The coordinate type this shape. This property is read only. An Error will be thrown when trying to assign to this property.
The spatial reference of this shape. This property is read only. An Error will be thrown when trying to assign to this property.
The 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;
The 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;
The 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;
The 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;
The z coordinate of the Point. The z coordinate typically corresponds with height.
The 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).
The point for which containment must be checked. If a 3D point is passed to this function, it will be treated as a 2D point: the z coordinate (height) will be ignored. The reference of this point must be the same reference as this Shape
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 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
Indicates whether this shape is equal to another.
the other shape this shape is compared with.
true
if both shapes are equal, false
otherwise.
Moves this Point to another location. The passed x and y will become the x and y coordinates of this point. The z coordinate of this Point remains unmodified.
x coordinate value
y coordinate value
Moves this Point to the given x, y and z coordinates.
x coordinate value
y coordinate value
z coordinate value
Translates 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
z coordinate value, may be omitted.
Translates the shape over the given vector in 2D space.
The x coordinate of the translation vector
The y coordinate of the translation vector
Translates this Point from its current position over the given translation vector to another location.
x coordinate value
y coordinate value
z coordinate value
Represents a point in 3 (x,y,z) dimensions. A Point cannot be instantiated directly, instead use the createPoint method from the ShapeFactory module. A point is always defined in the context of a spatial reference. For a geodetic spatial reference, the x and y properties correspond with longitude and latitude on the ellipsoid. For projected spatial references, the x and y properties correspond with the x and y axis in Cartesian space. The z property always corresponds with height.