ArcGISPointBuilder

Namespace: GameEngine.Geometry
Class: 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(ArcGISPoint)

Creates a point builder from the specified point.

Since 1.0.0

Arguments
NameTypeSummary
point

The point object.

ArcGISPointBuilder(ArcGISSpatialReference)

Creates an empty point builder with the specified ArcGISSpatialReference.

Since 1.0.0

Arguments
NameTypeSummary
spatialReference

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

The m-value for the point.

Will return NAN if an error occurs.

X

The x-coordinate for the point.

Will return NAN if an error occurs.

Y

The y-coordinate for the point.

Will return NAN if an error occurs.

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
NameTypeSummary
offsetX

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

offsetY

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
NameTypeSummary
x

The new x-coordinate value for the point.

y

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.