This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IC > ICircularArc Interface > ICircularArc.QueryCoords Method (ArcObjects .NET 10.5 SDK) |
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
QueryCoords returns the Center Point, the From Point, the To Point, the value of IsCounterClockwise, and the value of IsMinor for the Circular Arc.
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 Interface | ICircularArc.PutCoords Method