Namespace: Esri::GameEngine::Geometry
Class: Esri/GameEngine/Geometry/ArcGISGeodesicSectorParameters
Since: 1.0.0
Summary
The required parameters for calling ArcGISGeometryEngine::SectorGeodesic.
Constructors
ArcGISGeodesicSectorParameters()
Creates a new and empty ArcGISGeodesicSectorParameters object.
Since 1.0.0
ArcGISGeodesicSectorParameters(double, const ArcGISAngularUnit&, const ArcGISPoint&, const ArcGISLinearUnit&, uint32_t, double, ArcGISGeometryType, double, double, double, double)
Creates a new ArcGISGeodesicSectorParameters object with the given values.
Since 1.0.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
axis | double | No | The direction of the major axis of the ellipse as an angle in the given angular unit. |
angular | ArcGISAngularUnit | Yes | The angular unit of measure. If null degrees are assumed. |
center | ArcGISPoint | Yes | The center of the ellipse. |
linear | ArcGISLinearUnit | Yes | The linear unit of measure. If null meters are assumed. |
max | uint32_t | No | The max number of vertices in the ellipse. |
max | double | No | The max segment length of the result approximation in the given linear unit. |
geometry | ArcGISGeometryType | No | The type of output geometry. |
sector | double | No | The sweep angle of the sector in angular_unit. |
semi | double | No | The length of the semi-major or semi-minor axis of the ellipse in the given linear unit. |
semi | double | No | The length of the semi-major or semi-minor axis of the ellipse in the given linear unit. |
start | double | No | The direction of starting radius of the sector as an angle in angular_unit. |
ArcGISGeodesicSectorParameters(const ArcGISPoint&, double, double, double, double)
Creates a new ArcGISGeodesicSectorParameters object with the given values.
Since 1.0.0
Arguments
Name | Type | Const | Summary |
---|---|---|---|
center | ArcGISPoint | Yes | The center of the ellipse. |
semi | double | No | The length of the semi-major or semi-minor axis of the ellipse in meters. |
semi | double | No | The length of the semi-major or semi-minor axis of the ellipse in meters. |
sector | double | No | The sweep angle of the sector in degrees. |
start | double | No | The direction of starting radius of the sector as an angle in degrees. |
Properties
AngularUnit
ArcGISAngularUnit GetAngularUnit() const
void SetAngularUnit(const ArcGISAngularUnit& angularUnit)
The unit of measure for ArcGISGeodesicSectorParameters::AxisDirection, ArcGISGeodesicSectorParameters::SectorAngle, and ArcGISGeodesicSectorParameters::StartDirection.
By default, the angular unit is degrees.
AxisDirection
double GetAxisDirection() const
void SetAxisDirection(double axisDirection)
The direction of the major axis of the ellipse as an angle in ArcGISGeodesicSectorParameters::AngularUnit.
Center
ArcGISPoint GetCenter() const
void SetCenter(const ArcGISPoint& center)
The center of the ellipse.
GeometryType
ArcGISGeometryType GetGeometryType() const
void SetGeometryType(const ArcGISGeometryType& geometryType)
The type of the output geometry.
LinearUnit
ArcGISLinearUnit GetLinearUnit() const
void SetLinearUnit(const ArcGISLinearUnit& linearUnit)
The unit of measure for ArcGISGeodesicSectorParameters::SemiAxis1Length, ArcGISGeodesicSectorParameters::SemiAxis2Length, and ArcGISGeodesicSectorParameters::MaxSegmentLength.
By default, the linear unit is meters.
MaxPointCount
uint32_t GetMaxPointCount() const
void SetMaxPointCount(uint32_t maxPointCount)
The max number of vertices in the ellipse.
MaxSegmentLength
double GetMaxSegmentLength() const
void SetMaxSegmentLength(double maxSegmentLength)
The max segment length of the result, in ArcGISGeodesicSectorParameters::LinearUnit.
SectorAngle
double GetSectorAngle() const
void SetSectorAngle(double sectorAngle)
The sweep angle of the sector, in ArcGISGeodesicSectorParameters::AngularUnit. The sweep angle goes clockwise from the starting radius.
SemiAxis1Length
double GetSemiAxis1Length() const
void SetSemiAxis1Length(double semiAxis1Length)
The length of the semi-major or semi-minor axis of the ellipse, in ArcGISGeodesicSectorParameters::LinearUnit.
SemiAxis2Length
double GetSemiAxis2Length() const
void SetSemiAxis2Length(double semiAxis2Length)
The length of the semi-major or semi-minor axis of the ellipse, in ArcGISGeodesicSectorParameters::LinearUnit.
StartDirection
double GetStartDirection() const
void SetStartDirection(double startDirection)
The direction of starting radius of the sector as an angle, in ArcGISGeodesicSectorParameters::AngularUnit.