Skip to content

ArcGISPointBuilder

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

Summary

The point builder allows you to create and modify point geometries incrementally.

Constructors

ArcGISPointBuilder(ArcGISPoint)

Creates a point builder from the specified point.

Since 1.0.0

Arguments
NameTypeSummary
pointArcGISPoint

The point object.

ArcGISPointBuilder(ArcGISSpatialReference)

Creates an empty point builder with the specified ArcGISSpatialReference.

Since 1.0.0

Arguments
NameTypeSummary
spatialReferenceArcGISSpatialReference

The builder's spatial reference.

Properties

PropertyTypeNullableReadonlySummary
MdoubleNoNo

The m-value for the point.

XdoubleNoNo

The x-coordinate for the point.

YdoubleNoNo

The y-coordinate for the point.

ZdoubleNoNo

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
offsetXdouble

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

offsetYdouble

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
xdouble

The new x-coordinate value for the point.

ydouble

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.