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


ICircularArc.QueryCoords Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IC > ICircularArc Interface > ICircularArc.QueryCoords Method
ArcGIS Developer Help

ICircularArc.QueryCoords Method

Copies the center, 'from' and 'to' points, orientation and major/minor property into the input parameters.

[Visual Basic .NET]
Public Sub QueryCoords ( _
    ByVal Center As IPoint, _
    ByVal from As IPoint, _
    ByVal to As IPoint, _
    ByRef isCCW As Boolean, _
    ByRef IsMinor As Boolean _
)
[C#]
public void QueryCoords (
    IPoint Center,
    IPoint from,
    IPoint to,
    ref bool isCCW,
    ref bool IsMinor
);
[C++]
HRESULT QueryCoords(
  IPoint* Center,
  IPoint* from,
  IPoint* to,
  Boolean* isCCW,
  Boolean* IsMinor
);
[C++]
Parameters
Center 

Center is a parameter of type IPoint* from
from is a parameter of type IPoint* to
to is a parameter of type IPoint* isCCW [in, out]
isCCW is a parameter of type bool* IsMinor [in, out]
IsMinor is a parameter of type bool*

Product Availability

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

Description

QueryCoords returns the Center Point, the From Point, the To Point, the value of IsCounterClockwise, and the value of IsMinor for the Circular Arc.

Remarks

These are the necessary inputs for PutCoords, except in special cases (half circle, full circle, and Central Angle = 0) where the ArcOrientation must know which of these cases exists to ensure that the desired Circular Arc is unambiguous.

-isCCW stands for "is counter clockwise"

ICircularArc QueryCoords Example

See Also

ICircularArc Interface | ICircularArc.PutCoords Method