PointBuilder class final

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

Point geometries are immutable and cannot be changed directly once created. The PointBuilder has a number of constructors to allow you to create a new point, or you can edit an existing point using PointBuilder.setXY or PointBuilder.offsetBy. Use GeometryBuilder.toGeometry to return the new ArcGISPoint from the builder.

Inheritance

Constructors

PointBuilder.fromPoint(ArcGISPoint? point)
Creates a point builder from the specified point.
factory
PointBuilder.fromSpatialReference(SpatialReference? spatialReference)
Creates an empty point builder with the specified SpatialReference.
factory

Properties

extent Envelope
The extent for the geometry being constructed in the geometry builder.
no setterinherited
hasCurves bool
True if the geometry builder currently contains any curve segments, false otherwise.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasM bool
True if the geometry builder supports geometries with m values, false otherwise.
no setterinherited
hasZ bool
True if the geometry builder supports geometries with z values, false otherwise.
no setterinherited
isEmpty bool
True if no coordinates have been added to this geometry builder, false otherwise.
no setterinherited
isSketchValid bool
True if the geometry builder contains sufficient points to show a valid graphical sketch, false otherwise.
no setterinherited
m double
The m-value for the point.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spatialReference SpatialReference?
The spatial reference for the geometry.
no setterinherited
x double
The x-coordinate for the point.
getter/setter pair
y double
The y-coordinate for the point.
getter/setter pair
z double
The z-coordinate for the point.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offsetBy({required double offsetX, required double offsetY}) → void
Offsets the point by the given offsets for the x and y dimension.
replaceGeometry({required Geometry? geometry}) → void
Replaces the geometry currently stored in the geometry builder with the new geometry.
inherited
setXY({required double x, required double y}) → void
Sets the x,y coordinates of a point.
toGeometry() Geometry
Returns the geometry this geometry builder is constructing or modifying.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited