This document is archived and information here might be outdated.  Recommended version.


IEllipticArc.QueryCoordsByAngle Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IEllipticArc.QueryCoordsByAngle Method

Returns the center point, starting angle, signed central angle, angle of rotation, ratio of the minor axis to the major axis, and axes.

[Visual Basic .NET]
Public Sub QueryCoordsByAngle ( _
    ByVal ellipseStd As Boolean, _
    ByVal Center As IPoint, _
    ByRef FromAngle As Double, _
    ByRef CentralAngle As Double, _
    ByRef rotationAngle As Double, _
    ByRef semiMajor As Double, _
    ByRef minorMajorRatio As Double _
)
[C#]
public void QueryCoordsByAngle (
    bool ellipseStd,
    IPoint Center,
    ref double FromAngle,
    ref double CentralAngle,
    ref double rotationAngle,
    ref double semiMajor,
    ref double minorMajorRatio
);
[C++]
HRESULT QueryCoordsByAngle(
  VARIANT_BOOL ellipseStd,
  IPoint* Center,
  double* FromAngle,
  double* CentralAngle,
  double* rotationAngle,
  double* semiMajor,
  double* minorMajorRatio
);
[C++]

Parameters ellipseStd ellipseStd is a parameter of type VARIANT_BOOL Center
Center is a parameter of type IPoint FromAngle [in, out] FromAngle is a parameter of type double CentralAngle [in, out] CentralAngle is a parameter of type double rotationAngle [in, out] rotationAngle is a parameter of type double semiMajor [in, out] semiMajor is a parameter of type double minorMajorRatio [in, out] minorMajorRatio is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Given the EllipseStd value, returns the Center Point, From Angle, Central Angle, Rotation Angle, semi-Major axis length, and Minor Axis to Major Axis Ratio for the Elliptic Arc.  These are the same parameters used by PutCoordsByAngle to create the Elliptic Arc.  If EllipseStd=TRUE, the From Angle is relative to the rotated semi-Major Axis rather than the X-Axis.

Remarks

 

IEllipticArc QueryCoordsByAngle Example

See Also

IEllipticArc Interface | IEllipticArc.PutCoordsByAngle Method