Namespace: Esri::GameEngine::Geometry
Class: Esri/GameEngine/Geometry/ArcGISGeodesicEllipseParameters
Since: 1.0.0
Summary
The required parameters for calling ArcGISGeometryEngine::EllipseGeodesic.
Constructors
ArcGISGeodesicEllipseParameters()
Creates a new and empty ArcGISGeodesicEllipseParameters object.
Since 1.0.0
ArcGISGeodesicEllipseParameters(double, const ArcGISAngularUnit&, const ArcGISPoint&, const ArcGISLinearUnit&, uint32_t, double, ArcGISGeometryType, double, double)
Creates a new ArcGISGeodesicEllipseParameters 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 required, must be one of ArcGISGeometryType::Polyline, ArcGISGeometryType::Polygon, or ArcGISGeometryType::Multipoint. | |
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. |
ArcGISGeodesicEllipseParameters(const ArcGISPoint&, double, double)
Creates a new ArcGISGeodesicEllipseParameters object with the given center point and axis lengths.
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. |
Properties
Property | Type | Nullable | Readonly | Summary |
---|---|---|---|---|
No | No | The unit of measure for ArcGISGeodesicEllipseParameters::AxisDirection. | ||
No | No | The direction of the major axis of the ellipse as an angle, in ArcGISGeodesicEllipseParameters::AngularUnit. | ||
Yes | No | The center of the ellipse. | ||
No | No | The type of the output geometry. | ||
No | No | The unit of measure for ArcGISGeodesicEllipseParameters::SemiAxis1Length, ArcGISGeodesicEllipseParameters::SemiAxis2Length, and ArcGISGeodesicEllipseParameters::MaxSegmentLength. | ||
No | No | The max number of vertices in the ellipse. | ||
No | No | The max segment length of the result, in ArcGISGeodesicEllipseParameters::LinearUnit. | ||
No | No | The length of the semi-major or semi-minor axis of the ellipse, in ArcGISGeodesicEllipseParameters::LinearUnit. | ||
No | No | The length of the semi-major or semi-minor axis of the ellipse, in ArcGISGeodesicEllipseParameters::LinearUnit. |
AngularUnit
ArcGISAngularUnit GetAngularUnit() const
void SetAngularUnit(const ArcGISAngularUnit& angularUnit)
The unit of measure for ArcGISGeodesicEllipseParameters::AxisDirection.
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 ArcGISGeodesicEllipseParameters::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 ArcGISGeodesicEllipseParameters::SemiAxis1Length, ArcGISGeodesicEllipseParameters::SemiAxis2Length, and ArcGISGeodesicEllipseParameters::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 ArcGISGeodesicEllipseParameters::LinearUnit.
SemiAxis1Length
double GetSemiAxis1Length() const
void SetSemiAxis1Length(double semiAxis1Length)
The length of the semi-major or semi-minor axis of the ellipse, in ArcGISGeodesicEllipseParameters::LinearUnit.
SemiAxis2Length
double GetSemiAxis2Length() const
void SetSemiAxis2Length(double semiAxis2Length)
The length of the semi-major or semi-minor axis of the ellipse, in ArcGISGeodesicEllipseParameters::LinearUnit.