<GeometryTypes.h> - Geometry Enums

Collection of Geometry enumerations. More...

Header: #include <GeometryTypes.h>

Types

enum class AngularUnitId { Other, Degrees, Grads, Minutes, Radians, Seconds }
enum class AreaUnitId { Other, Acres, Hectares, SquareCentimeters, SquareDecimeters, …, SquareYards }
enum class DatumTransformationType { GeographicTransformation, HorizontalVerticalTransformation }
enum class GarsConversionMode { LowerLeft, Center }
enum class GeodeticCurveType { Geodesic, Loxodrome, GreatElliptic, NormalSection, ShapePreserving }
enum class GeometryBuilderType { Unknown, PointBuilder, EnvelopeBuilder, PolylineBuilder, PolygonBuilder, MultipointBuilder }
enum class GeometryDimension { Point, Curve, Area, Volume, Unknown }
enum class GeometryExtendOptions { Default, RelocateEnds, KeepEndAttributes, NoEndAttributes, DoNotExtendFromStartPoint, DoNotExtendFromEndPoint }
enum class GeometryOffsetType { Mitered, Bevelled, Rounded, Squared }
enum class GeometryType { Unknown, Point, Envelope, Polyline, Polygon, Multipoint }
enum class LatitudeLongitudeFormat { DecimalDegrees, DegreesDecimalMinutes, DegreesMinutesSeconds }
enum class LinearUnitId { Other, Centimeters, Feet, Inches, Kilometers, …, Yards }
enum class MgrsConversionMode { Automatic, New180InZone01, New180InZone60, Old180InZone01, Old180InZone60 }
enum class SegmentType { Unknown, LineSegment, CubicBezierSegment, EllipticArcSegment }
enum class UnitType { LinearUnit, AngularUnit, AreaUnit, Unknown }
enum class UtmConversionMode { LatitudeBandIndicators, NorthSouthIndicators }

Detailed Description

Type Documentation

[since Esri::ArcGISRuntime 100.0] enum class AngularUnitId

Defines a list of the most commonly-used angular units of measurement.

These values can be used to create instances of AngularUnit, as an alternative to using well-known IDs (WKIDs). In addition to the units in this enumeration, you can also use less commonly-used units, by passing a WKID of an angular unit to the inherited Unit::fromWkid(int) factory method. The function Unit::wkid returns the WKID of the unit.

The AngularUnitId can be one of:

ConstantValueDescription
AngularUnitId::Other0Indicates that the unit of angular measurement is a custom unit, or is a unit not listed in the enumerated type. This value may be returned from an AngularUnit created from a WKID of a less commonly used unit of measurement that does not have an equivalent value in this enumeration.
AngularUnitId::Degrees9102Indicates an angular measurement in degrees. This unit has a WKID of 9102.
AngularUnitId::Grads9105Indicates an angular measurement in grads. This unit has a WKID of 9105.
AngularUnitId::Minutes9103Indicates an angular measurement in minutes, equal to one-sixtieth of a degree. This unit has a WKID of 9103.
AngularUnitId::Radians9101Indicates an angular measurement in radians. This unit has a WKID of 9101.
AngularUnitId::Seconds9104Indicates an angular measurement in seconds, equal to one-sixtieth of a minute. This unit has a WKID of 9104.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

[since Esri::ArcGISRuntime 100.0] enum class AreaUnitId

Defines a list of the most commonly-used units of area measurement.

These values can be used to create instances of AreaUnit, as an alternative to using well-known IDs (WKIDs). In addition to the units in this enumeration, you can also use less commonly-used units, by passing a WKID of an area unit to the inherited Unit::fromWkid(int) factory method. The function Unit::wkid returns the WKID of the unit.

The AreaUnitId can be one of:

ConstantValueDescription
AreaUnitId::Other0Indicates that the unit of area measurement is a custom unit, or a unit not listed in the enumerated type. This value may be returned from an AreaUnit created from a WKID of a less commonly used unit of measurement that does not have an equivalent value in this enumeration.
AreaUnitId::Acres109402Indicates an area measurement in acres. This unit has a WKID of 109402.
AreaUnitId::Hectares109401Indicates an area measurement in hectares. This unit has a WKID of 109401.
AreaUnitId::SquareCentimeters109451Indicates an area measurement in square centimeters. This unit has a WKID of 109451.
AreaUnitId::SquareDecimeters109450Indicates an area measurement in square decimeters. This unit has a WKID of 109450.
AreaUnitId::SquareFeet109405Indicates an area measurement in square feet. This unit has a WKID of 109405.
AreaUnitId::SquareKilometers109414Indicates an area measurement in square kilometers. This unit has a WKID of 109414.
AreaUnitId::SquareMeters109404Indicates an area measurement in square meters. This unit has a WKID of 109404.
AreaUnitId::SquareMillimeters109452Indicates an area measurement in square millimeters. This unit has a WKID of 109452.
AreaUnitId::SquareMiles109439Indicates an area measurement in square statute miles. This unit has a WKID of 109439.
AreaUnitId::SquareYards109442Indicates an area measurement in square yards. This unit has a WKID of 109442.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

[since Esri::ArcGISRuntime 100.2] enum class DatumTransformationType

Supported datum transformation types.

The DatumTransformationType can be one of:

ConstantValueDescription
DatumTransformationType::GeographicTransformation1Represents a GeographicTransformation instance.
DatumTransformationType::HorizontalVerticalTransformation2Represents a HorizontalVerticalTransformation instance.

This enum was introduced or modified in Esri::ArcGISRuntime 100.2.

[since Esri::ArcGISRuntime 100.1] enum class GarsConversionMode

Enumerates possible locations of a point relative to a GARS cell.

The GarsConversionMode can be one of:

ConstantValueDescription
GarsConversionMode::LowerLeft0Represents a GARS cell by the coordinate of its south-west corner.
GarsConversionMode::Center1Represents a GARS cell by the coordinates of its center.

This enum was introduced or modified in Esri::ArcGISRuntime 100.1.

[since Esri::ArcGISRuntime 100.0] enum class GeodeticCurveType

Enumerates types of geodetic curves for use in geodetic GeometryEngine operations.

The GeodeticCurveType can be one of:

ConstantValueDescription
GeodeticCurveType::Geodesic0The shortest line between any two points on the Earth's surface on a spheroid (ellipsoid).
GeodeticCurveType::Loxodrome1A line of constant bearing, or azimuth. Straight line is a rhumb line.
GeodeticCurveType::GreatElliptic2The line on a spheroid (ellipsoid) defined by the intersection at the surface by a plane that passes through the center of the spheroid and the start and end points of a segment. This is also known as a great circle when a sphere is used.
GeodeticCurveType::NormalSection3Straight line is a normal section.
GeodeticCurveType::ShapePreserving4Keeps the original shape of the geometry or curve.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

[since Esri::ArcGISRuntime 100.0] enum class GeometryBuilderType

Enumerates types of geometry builder that may be represented by GeometryBuilder or a class that inherts from GeometryBuilder.

The GeometryBuilderType can be one of:

ConstantValueDescription
GeometryBuilderType::Unknown-1Unknown geometry builder type
GeometryBuilderType::PointBuilder1A PointBuilder
GeometryBuilderType::EnvelopeBuilder2An EnvelopeBuilder
GeometryBuilderType::PolylineBuilder3A PolylineBuilder
GeometryBuilderType::PolygonBuilder4A PolygonBuilder
GeometryBuilderType::MultipointBuilder5A MultipointBuilder

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

[since Esri::ArcGISRuntime 200.0] enum class GeometryDimension

Indicates the dimensionality of a Geometry, relating to the number of spatial dimensions in which the geometry may have a size.

The GeometryDimension can be one of:

ConstantValueDescription
GeometryDimension::Point0The geometry is a point or multipoint.
GeometryDimension::Curve1The geometry is a curve.
GeometryDimension::Area2The geometry has an area.
GeometryDimension::Volume3The geometry has a volume.
GeometryDimension::Unknown-1Unknown geometry dimensions.

This enum was introduced or modified in Esri::ArcGISRuntime 200.0.

[since Esri::ArcGISRuntime 100.1] enum class GeometryExtendOptions

Enumerates options that the GeometryEngine's extend() method should use.

The GeometryExtendOptions can be one of:

ConstantValueDescription
GeometryExtendOptions::Default0By default, extension considers both ends of paths. The old ends remain and new points are added at the extended ends. The new points have attributes that are extrapolated from adjacent existing segments.
GeometryExtendOptions::RelocateEnds1If an extension is performed at an end, relocate the end point to the new position instead of leaving the old point and adding a new point at the new position.
GeometryExtendOptions::KeepEndAttributes2If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point. Instead, make its attributes the same as the current end. Incompatible with GeometryExtendOptions::NoEndAttributes.
GeometryExtendOptions::NoEndAttributes4If an extension is performed at an end, do not extrapolate the end-segment's attributes for the new point. Instead, make its attributes be empty. Incompatible with GeometryExtendOptions::KeepEndAttributes.
GeometryExtendOptions::DoNotExtendFromStartPoint8Do not extend the 'from' end of any path.
GeometryExtendOptions::DoNotExtendFromEndPoint16Do not extend the 'to' end of any path.

This enum was introduced or modified in Esri::ArcGISRuntime 100.1.

[since Esri::ArcGISRuntime 100.0] enum class GeometryOffsetType

The different types of geometry offset joints.

The GeometryOffsetType can be one of:

ConstantValueDescription
GeometryOffsetType::Mitered0Refers to a mitered joint type.
GeometryOffsetType::Bevelled1Refers to a bevelled joint type.
GeometryOffsetType::Rounded2Refers to a rounded joint type.
GeometryOffsetType::Squared3Refers to a squared joint type.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

[since Esri::ArcGISRuntime 100.0] enum class GeometryType

Enumerates types of geometry that may be represented by Geometry or a class that inherts from Geometry.

The GeometryType can be one of:

ConstantValueDescription
GeometryType::Unknown-1Unknown geometry type
GeometryType::Point1Single point (point)
GeometryType::Envelope2Enclosed rectangular area with sides aligned on the X and Y axes (area, multi-path, multi-vertex)
GeometryType::Polyline3One or more lines in a single %Geometry (linear, multi-vertex, multi-path)
GeometryType::Polygon4One or more enclosed areas in a single %Geometry (multi-vertex, multi-path)
GeometryType::Multipoint5One or more points in a single %Geometry (point, multi-vertex)

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

[since Esri::ArcGISRuntime 100.1] enum class LatitudeLongitudeFormat

Enumerates supported formats for representing latitude-longitude geographical coordinates as a string.

The LatitudeLongitudeFormat can be one of:

ConstantValueDescription
LatitudeLongitudeFormat::DecimalDegrees0The geographical coordinates are represented in decimal degrees.
LatitudeLongitudeFormat::DegreesDecimalMinutes1The geographical coordinates are represented in degrees and decimal minutes.
LatitudeLongitudeFormat::DegreesMinutesSeconds2The geographical coordinates are represented in degrees and minutes and decimal seconds.

This enum was introduced or modified in Esri::ArcGISRuntime 100.1.

[since Esri::ArcGISRuntime 100.0] enum class LinearUnitId

Defines a list of the most commonly-used units of linear measurement.

These values can be used to create instances Unit, as an alternative to using well-known IDs (WKIDs). In addition to the units in this enumeration, you can also use less commonly-used units, by passing a WKID of a linear unit to the inherited Unit::fromWkid(int) factory method. The function Unit::wkid returns the WKID of the unit.

The LinearUnitId can be one of:

ConstantValueDescription
LinearUnitId::Other0Indicates that the unit of linear measurement is a custom unit, or a unit that is not listed in the enumerated type. This value may be returned from a LinearUnit created from a WKID of a less commonly used unit of measurement that does not have an equivalent value in this enumeration.
LinearUnitId::Centimeters1033Indicates a linear measurement in centimeters. This unit has a WKID of 1033.
LinearUnitId::Feet9002Indicates a linear measurement in feet. This unit has a WKID of 9002.
LinearUnitId::Inches109008Indicates a linear measurement in inches. This unit has a WKID of 109008.
LinearUnitId::Kilometers9036Indicates a linear measurement in kilometers. This unit has a WKID of 9036.
LinearUnitId::Meters9001Indicates a linear measurement in meters. This unit has a WKID of 9001.
LinearUnitId::Miles9093Indicates a linear measurement in statute miles. This unit has a WKID of 9093.
LinearUnitId::Millimeters1025Indicates a linear measurement in millimeters. This unit has a WKID of 1025.
LinearUnitId::NauticalMiles9030Indicates a linear measurement in nautical miles. This unit has a WKID of 9030.
LinearUnitId::Yards9096Indicates a linear measurement in yards. This unit has a WKID of 9096.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

[since Esri::ArcGISRuntime 100.1] enum class MgrsConversionMode

Enumerates the lettering scheme and treatment of coordinates at 180 degrees longitude when converting MGRS.

The MgrsConversionMode can be one of:

ConstantValueDescription
MgrsConversionMode::Automatic0The choice of MGRS lettering scheme is based on the datum and ellipsoid of the spatial reference provided. Spatial references with new datums (e.g. WGS 84) assume new lettering scheme (AA scheme). This is equivalent to MgrsConversionMode::New180InZone60. Spatial references with older datums (e.g. Clarke 1866, Bessel 1841, Clarke 1880) assume old lettering scheme (AL scheme). This is equivalent to MgrsConversionMode::Old180InZone60. When converted, points with longitude of exactly 180 degrees are placed in zone 60.
MgrsConversionMode::New180InZone011The MGRS notation uses the new lettering scheme (AA scheme) and, when converted, places points with longitude of 180 degrees in zone 01.
MgrsConversionMode::New180InZone602The MGRS notation uses the new lettering scheme (AA scheme) and, when converted, places points with longitude of 180 degrees in zone 60.
MgrsConversionMode::Old180InZone013The MGRS notation uses the old lettering scheme (AL scheme) and, when converted, places points with longitude of 180 degrees in zone 01.
MgrsConversionMode::Old180InZone604The MGRS notation uses the old lettering scheme (AL scheme) and, when converted, places points with longitude of 180 degrees in zone 60.

This enum was introduced or modified in Esri::ArcGISRuntime 100.1.

[since Esri::ArcGISRuntime 100.0] enum class SegmentType

The different types of segments.

Each of the different supported segment types. The segment type can be accessed by calling Segment::segmentType.

The SegmentType can be one of:

ConstantValueDescription
SegmentType::Unknown-1An unknown segment.
SegmentType::LineSegment1Line segment.
SegmentType::CubicBezierSegment2Cubic bezier curve segment.
SegmentType::EllipticArcSegment3Elliptic arc curve segment.

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

[since Esri::ArcGISRuntime 100.0] enum class UnitType

Enumerates types of unit represented by an instance of a Unit type.

The UnitType can be one of:

ConstantValueDescription
UnitType::LinearUnit0LinearUnit
UnitType::AngularUnit1AngularUnit
UnitType::AreaUnit2AreaUnit
UnitType::Unknown-1Unknown unit type

This enum was introduced or modified in Esri::ArcGISRuntime 100.0.

enum class UtmConversionMode

Determines how latitude is designated in UTM notation.

Within a single longitudinal zone within the UTM system, two points share the same grid position: one in the northern hemisphere and one in the south. Two schemes are used to resolve this ambiguity. In the first, the point is designated a latitude band, identified with letters C through X (omitting I and O). In the second, in place of the latitude band, a hemisphere indicator (N or S) is used.

The UtmConversionMode can be one of:

ConstantValueDescription
UtmConversionMode::LatitudeBandIndicators0The letter after the UTM zone number represents a latitudinal band (C through X, omitting I and O).
UtmConversionMode::NorthSouthIndicators1The letter after the UTM zone number represents a hemisphere (N or S).

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