ArcGISPointBuilder

Namespace: Esri::GameEngine::Geometry
Class: Esri/GameEngine/Geometry/ArcGISPointBuilder
Since: 1.0.0
Inheritance: ArcGISGeometryBuilder->ArcGISPointBuilder

Summary

The point builder is used to create and modify point geometries incrementally.

Constructors

ArcGISPointBuilder(const ArcGISPoint&)

Creates a point builder from the specified point.

Since 1.0.0

Arguments
NameTypeConstSummary
point
Yes

The point object.

ArcGISPointBuilder(const ArcGISSpatialReference&)

Creates an empty point builder with the specified ArcGISSpatialReference.

Since 1.0.0

Arguments
NameTypeConstSummary
spatialReference
Yes

The builder's spatial reference.

Properties

PropertyTypeNullableReadonlySummary
No
No

The m-value for the point.

No
No

The x-coordinate for the point.

No
No

The y-coordinate for the point.

No
No

The z-coordinate for the point.

M

double GetM() const

void SetM(double m)

The m-value for the point.

Will return NAN if an error occurs.

X

double GetX() const

void SetX(double x)

The x-coordinate for the point.

Will return NAN if an error occurs.

Y

double GetY() const

void SetY(double y)

The y-coordinate for the point.

Will return NAN if an error occurs.

Z

double GetZ() const

void SetZ(double z)

The z-coordinate for the point.

The minimum z-coordinate is -6,356,752 meters, which is the approximate radius of the earth (the WGS 84 datum semi-minor axis). The maximum z-coordinate is 55,000,000 meters. Will return NAN if an error occurs.

Methods

SignatureReturn TypeSummary

OffsetBy(double, double)

void

Offsets the point by the given offsets for the x and y dimension.

SetXY(double, double)

void

Sets the x,y coordinates of a point.

OffsetBy

void OffsetBy(double offsetX, double offsetY)

Offsets the point by the given offsets for the x and y dimension.

Since 1.0.0

Arguments
NameTypeConstSummary
offsetX
No

The number of units to move the point on the x axis.

offsetY
No

The number of units to move the point on the y axis.

Returns void

SetXY

void SetXY(double x, double y)

Sets the x,y coordinates of a point.

Since 1.0.0

Arguments
NameTypeConstSummary
x
No

The new x-coordinate value for the point.

y
No

The new y-coordinate value for the point.

Returns void

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.