Skip To Content ArcGIS for Developers Sign In Dashboard

PointBuilder QML Type

Helper type for building immutable Point geometries. More...

Import Statement: import Esri.ArcGISRuntime 100.9
Since: Esri.ArcGISRuntime 100.0
Inherits:

GeometryBuilder

Properties

  • m : double
  • x : double
  • y : double
  • z : double

Signals

Methods

Detailed Description

Points are the most straightforward geometries to define, and therefore the Point type and this builder have the same properties. This builder type is provided mainly for consistency with other immutable geometries.

The spatial reference must be set before using the builder and cannot be changed after the builder contains points.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
SpatialReferencespatialReference

Property Documentation

m : double

The m-value.


x : double

The x-coordinate.


y : double

The y-coordinate.


z : double

The z-coordinate.

The minimum z-value is -6,356,752 meters, which is the approximate radius of the earth (the WGS 84 datum semi-minor axis). The maximum z-value is 55,000,000 meters.


Signal Documentation

geometryChanged()

Emitted when any of the properties of this Point changes.

Note: The corresponding handler is onGeometryChanged.


mChanged()

Emitted when the m property of this Point changes.

Note: The corresponding handler is onMChanged.


xChanged()

Emitted when the x property of this Point changes.

Note: The corresponding handler is onXChanged.


yChanged()

Emitted when the y property of this Point changes.

Note: The corresponding handler is onYChanged.


zChanged()

Emitted when the z property of this Point changes.

Note: The corresponding handler is onZChanged.


Method Documentation

void offsetBy(offsetX, double offsetY)

Move the builder's geometry in the x/y plane.

Returns this PointBuilder so you can easily chain method calls.

  • offsetX - The offset along x-axis (negative value moves the point west).
  • offsetY - The offset along y-axis (negative value moves the point south).

void setXY(x, double y)

Sets the x,y-coordinates of the point.

  • x - The x-coordinate.
  • y - The y-coordinate.

string toText()

Returns a string representing this point.

The string has this format: Point(<x-coordinate>, <y-coordinate>, <z-coordinate>, <m-value>) WKID: <wkid-value>

Z-coordinates and m-values are omitted if not present, along with their leading commas.



Feedback on this topic?