ArcObjects Library Reference (Geometry)  

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,
  VARIANT_BOOL* isCCW,
  VARIANT_BOOL* 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 VARIANT_BOOL IsMinor [in, out]   IsMinor is a parameter of type VARIANT_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

.NET Related Topics

How to use some basic properties and methods on ICircularArc |