|
ArcGIS Runtime SDK for iOS
100.9
|
A builder to build point geometries.
Instances of this class represent a builder that can build point geometries. Point geometries are immutable, they cannot be modified after they are created. Use builders to create new geometries either from scratch, or by using an existing geometry as a starting off point. Modifications made through the builder affect only its own internal copy of the geometry. They do not affect the original geometry.
AGSSketchEditor to construct or modify geometries interactively by sketching on a map
Instance Methods | |
| (instancetype) | - initWithPoint: |
| (instancetype) | - initWithSpatialReference: |
| (BOOL) | - isEmpty |
| (instancetype) | - offsetByX:y: |
| (instancetype) | - replaceGeometry: |
| (instancetype) | - replaceGeometry: |
| (instancetype) | - setX:y: |
| (AGSPoint *) | - toGeometry |
Class Methods | |
| (AGSGeometryBuilder *) | + builderWithGeometry: |
| (AGSGeometryBuilder *) | + builderWithGeometryType:spatialReference: |
| (instancetype) | + pointBuilderWithPoint: |
| (instancetype) | + pointBuilderWithSpatialReference: |
Properties | |
| AGSEnvelope * | extent |
| AGSGeometryType | geometryType |
| BOOL | hasM |
| BOOL | hasZ |
| double | m |
| AGSSpatialReference * | spatialReference |
| double | x |
| double | y |
| double | z |
| + (AGSGeometryBuilder*) builderWithGeometry: | (nullable AGSGeometry *) | geometry |
Factory method to create a geometry builder from a geometry.
| geometry | The geometry to be used as the starting point for further modifications |
| + (AGSGeometryBuilder*) builderWithGeometryType: | (AGSGeometryType) | geometryType | |
| spatialReference: | (nullable AGSSpatialReference *) | sr | |
Factory method to create a geometry builder from a geometry type and spatial reference.
| geometryType | The type of geometry to be constructed |
| sr | The spatial reference for the geometry to be constructed |
| - (instancetype) initWithPoint: | (nullable AGSPoint *) | point |
Initializes a point builder.
| point | The geometry to be used as the starting point for further modifications. Can be nil. |
| - (instancetype) initWithSpatialReference: | (nullable AGSSpatialReference *) | sr |
Initializes a builder.
| sr | The spatial reference for the geometry to be constructed |
| - (BOOL) isEmpty |
Indicates whether the builder's geometry is empty.
AGSGeometry::isEmpty | - (instancetype) offsetByX: | (double) | xOffset | |
| y: | (double) | yOffset | |
Move the builder's point geometry.
| xOffset | offset along x-axis (negative value moves the point east) |
| yOffset | offset along y-axis (negative value moves the point south) |
| + (instancetype) pointBuilderWithPoint: | (nullable AGSPoint *) | point |
Initializes a point builder.
| point | The geometry to be used as the starting point for further modifications. Can be nil. |
| + (instancetype) pointBuilderWithSpatialReference: | (nullable AGSSpatialReference *) | sr |
Initializes a builder.
| sr | The spatial reference for the geometry to be constructed |
| - (instancetype) replaceGeometry: | (nullable AGSGeometry *) | geometry |
Replaces the builder's geometry with the provided one.
| geometry | to replace with |
| - (instancetype) replaceGeometry: | (nullable AGSPoint *) | geometry |
Replaces the builder's geometry with the provided one.
| geometry | to replace with |
| - (instancetype) setX: | (double) | x | |
| y: | (double) | y | |
Update the builder's point geometry.
| x | coordinate |
| y | coordinate |
| - (AGSPoint*) toGeometry |
Returns the point geometry this builder is constructing or modifying.
Implements AGSGeometryBuilder.
|
readnonatomicstronginherited |
Smallest, rectangular bounding-box that covers the builder's geometry.
AGSGeometry::extent
|
readnonatomicassigninherited |
The type of geometry the builder will construct or modify.
|
readnonatomicassigninherited |
Indicates whether the builder's geometry contains m (measure) values.
AGSGeometry::hasM
|
readnonatomicassigninherited |
Indicates whether the builder's geometry contains z coordinate values.
AGSGeometry::hasZ
|
readwritenonatomicassign |
The measure value of the builder's point geometry.
|
readnonatomicstronginherited |
The spatial reference associated with the builder's gometry. It specifies the coordinate system for the geometry's x, y, and z coordinate values.
AGSGeometry::spatialReference
|
readwritenonatomicassign |
The position of the builder's point geometry along x-axis.
|
readwritenonatomicassign |
The position of the builder's point geometry along y-axis.
|
readwritenonatomicassign |
The position of the builder's point geometry along z-axis. Only applicable for 3D point geometries. 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.