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 | No | The direction of the major axis of the ellipse as an angle in the given angular unit. | |
angular | Yes | The angular unit of measure. If null degrees are assumed. | |
center | Yes | The center of the ellipse. | |
linear | Yes | The linear unit of measure. If null meters are assumed. | |
max | No | The max number of vertices in the ellipse. | |
max | No | The max segment length of the result approximation in the given linear unit. | |
geometry | No | The type of output geometry. | |
sector | No | The sweep angle of the sector in angular_unit. | |
semi | No | The length of the semi-major or semi-minor axis of the ellipse in the given linear unit. | |
semi | No | The length of the semi-major or semi-minor axis of the ellipse in the given linear unit. | |
start | 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 | Yes | The center of the ellipse. | |
semi | No | The length of the semi-major or semi-minor axis of the ellipse in meters. | |
semi | No | The length of the semi-major or semi-minor axis of the ellipse in meters. | |
sector | No | The sweep angle of the sector in degrees. | |
start | No | The direction of starting radius of the sector as an angle in degrees. |
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
No | No | The unit of measure for ArcGISGeodesicSectorParameters::AxisDirection, ArcGISGeodesicSectorParameters::SectorAngle, and ArcGISGeodesicSectorParameters::StartDirection. | ||
No | No | The direction of the major axis of the ellipse as an angle in ArcGISGeodesicSectorParameters::AngularUnit. | ||
Yes | No | The center of the ellipse. | ||
No | No | The type of the output geometry. | ||
No | No | The unit of measure for ArcGISGeodesicSectorParameters::SemiAxis1Length, ArcGISGeodesicSectorParameters::SemiAxis2Length, and ArcGISGeodesicSectorParameters::MaxSegmentLength. | ||
No | No | The max number of vertices in the ellipse. | ||
No | No | The max segment length of the result, in ArcGISGeodesicSectorParameters::LinearUnit. | ||
No | No | The sweep angle of the sector, in ArcGISGeodesicSectorParameters::AngularUnit. The sweep angle goes clockwise from the starting radius. | ||
No | No | The length of the semi-major or semi-minor axis of the ellipse, in ArcGISGeodesicSectorParameters::LinearUnit. | ||
No | No | The length of the semi-major or semi-minor axis of the ellipse, in ArcGISGeodesicSectorParameters::LinearUnit. | ||
No | No | The direction of starting radius of the sector as an angle, in ArcGISGeodesicSectorParameters::AngularUnit. |
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.