Interface IConstructCircularArc2

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

Provides access to members that construct a circular arc using other geometries and values.

[Guid("F4EE06A7-7854-485D-9689-914BE1B4E900")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IConstructCircularArc2 : IConstructCircularArc

Methods

ConstructArcDistance(IPoint, IPoint, bool, double)

void ConstructArcDistance(IPoint Center, IPoint from, bool isCCW, double arcDistance)

Parameters

Center IPoint
from IPoint
isCCW bool
arcDistance double

ConstructBearingAngleArc(IPoint, double, bool, double, double)

void ConstructBearingAngleArc(IPoint from, double inAngle, bool isCCW, double CentralAngle, double arcDistance)

Parameters

from IPoint
inAngle double
isCCW bool
CentralAngle double
arcDistance double

ConstructBearingAngleChord(IPoint, double, bool, double, double)

void ConstructBearingAngleChord(IPoint from, double inAngle, bool isCCW, double CentralAngle, double chordDistance)

Parameters

from IPoint
inAngle double
isCCW bool
CentralAngle double
chordDistance double

ConstructBearingAngleTangent(IPoint, double, bool, double, double)

void ConstructBearingAngleTangent(IPoint from, double inAngle, bool isCCW, double CentralAngle, double tangentDistance)

Parameters

from IPoint
inAngle double
isCCW bool
CentralAngle double
tangentDistance double

ConstructBearingArcTangent(IPoint, double, bool, double, double)

void ConstructBearingArcTangent(IPoint from, double inAngle, bool isCCW, double arcDistance, double tangentDistance)

Parameters

from IPoint
inAngle double
isCCW bool
arcDistance double
tangentDistance double

ConstructBearingChordArc(IPoint, double, bool, double, double)

void ConstructBearingChordArc(IPoint from, double inAngle, bool isCCW, double chordDistance, double arcDistance)

Parameters

from IPoint
inAngle double
isCCW bool
chordDistance double
arcDistance double

ConstructBearingChordTangent(IPoint, double, bool, double, double)

void ConstructBearingChordTangent(IPoint from, double inAngle, bool isCCW, double chordDistance, double tangentDistance)

Parameters

from IPoint
inAngle double
isCCW bool
chordDistance double
tangentDistance double

ConstructBearingRadiusAngle(IPoint, double, bool, double, double)

void ConstructBearingRadiusAngle(IPoint startPoint, double inAngle, bool isCCW, double inRadius, double CentralAngle)

Parameters

startPoint IPoint
inAngle double
isCCW bool
inRadius double
CentralAngle double

ConstructBearingRadiusArc(IPoint, double, bool, double, double)

void ConstructBearingRadiusArc(IPoint from, double inAngle, bool isCCW, double inRadius, double arcDistance)

Parameters

from IPoint
inAngle double
isCCW bool
inRadius double
arcDistance double

ConstructBearingRadiusChord(IPoint, double, bool, double, double, bool)

void ConstructBearingRadiusChord(IPoint from, double inAngle, bool isCCW, double inRadius, double chordDistance, bool IsMinor)

Parameters

from IPoint
inAngle double
isCCW bool
inRadius double
chordDistance double
IsMinor bool

ConstructBearingRadiusTangent(IPoint, double, bool, double, double)

void ConstructBearingRadiusTangent(IPoint from, double inAngle, bool isCCW, double inRadius, double tangentDistance)

Parameters

from IPoint
inAngle double
isCCW bool
inRadius double
tangentDistance double

ConstructChordDistance(IPoint, IPoint, bool, double)

void ConstructChordDistance(IPoint Center, IPoint from, bool isCCW, double chordDistance)

Parameters

Center IPoint
from IPoint
isCCW bool
chordDistance double

ConstructChordDistanceEx(IPoint, IPoint, bool, double, bool)

Constructs an arc from a center point, a from point, and a chord length.

void ConstructChordDistanceEx(IPoint Center, IPoint from, bool isCCW, double chordDistance, bool IsMinor)

Parameters

Center IPoint
from IPoint
isCCW bool
chordDistance double
IsMinor bool

Remarks

Please see the ConstructChordDistance method for more details.

-isCCW stands for "is counter clockwise"

-If IsMinor is true the central angle of the output Arc will be smaller or equal than PI (Approx. 3.14 Rad)

[C#]

        private void ConstructChordDistanceEx()
        {
            IConstructCircularArc2 constructCircularArc = new CircularArcClass();
            ICircularArc circularArc = constructCircularArc as ICircularArc;


            IPoint fromPoint = new PointClass();
            fromPoint.PutCoords(100, 100);
            IPoint toPoint = new PointClass();
            toPoint.PutCoords(50, 50);
            constructCircularArc.ConstructChordDistanceEx(fromPoint, toPoint, true, 100, true);



            String report = "Length : " + circularArc.Length + "\n" +
                            "Radius : " + circularArc.Radius + "\n" +
                            "Chord Height : " + circularArc.ChordHeight + "\n" +
                            "Central Angle (Rad) : " + circularArc.CentralAngle + "\n" +
                            "From Angle (Rad) : " + circularArc.FromAngle + "\n" +
                            "To Angle (Rad) : " + circularArc.ToAngle + "\n" +
                            "Center Point : " + circularArc.CenterPoint.X + " , " + circularArc.CenterPoint.Y + "\n" +
                            "From Point : " + circularArc.FromPoint.X + " , " + circularArc.FromPoint.Y + "\n" +
                            "To Point : " + circularArc.ToPoint.X + " , " + circularArc.ToPoint.Y;
            System.Windows.Forms.MessageBox.Show(report);
        }










[Visual Basic .NET]

    Private Sub ConstructChordDistanceEx()
        Dim pConstructCircularArc As ESRI.ArcGIS.Geometry.IConstructCircularArc2
        Dim pCArc As ESRI.ArcGIS.Geometry.ICircularArc
        Dim pCenterPoint As ESRI.ArcGIS.Geometry.IPoint
        Dim pFromPoint As ESRI.ArcGIS.Geometry.IPoint



        pConstructCircularArc = New ESRI.ArcGIS.Geometry.CircularArc
        pCArc = pConstructCircularArc
        pFromPoint = New ESRI.ArcGIS.Geometry.Point
        pCenterPoint = New ESRI.ArcGIS.Geometry.Point
        pFromPoint.PutCoords(100, 100)
        pCenterPoint.PutCoords(50, 50)
        pConstructCircularArc.ConstructChordDistanceEx(pCenterPoint, pFromPoint, True, 100, True)





        Debug.Print("Length : " & pCArc.Length)
        Debug.Print("Radius : " & pCArc.Radius)
        Debug.Print("Chord Height : " & pCArc.ChordHeight)
        Debug.Print("Central Angle (Rad) : " & pCArc.CentralAngle)
        Debug.Print("From Angle (Rad) : " & pCArc.FromAngle)
        Debug.Print("To Angle (Rad) : " & pCArc.ToAngle)
        Debug.Print("Center Point : " & pCArc.CenterPoint.X & " , " & pCArc.CenterPoint.Y)
        Debug.Print("From Point : " & pCArc.FromPoint.X & " , " & pCArc.FromPoint.Y)
        Debug.Print("To Point : " & pCArc.ToPoint.X & " , " & pCArc.ToPoint.Y)
    End Sub









ConstructCircle(IPoint, double, bool)

void ConstructCircle(IPoint CenterPoint, double Radius, bool isCCW)

Parameters

CenterPoint IPoint
Radius double
isCCW bool

ConstructEndPointsAngle(IPoint, IPoint, bool, double)

void ConstructEndPointsAngle(IPoint from, IPoint to, bool isCCW, double CentralAngle)

Parameters

from IPoint
to IPoint
isCCW bool
CentralAngle double

ConstructEndPointsArc(IPoint, IPoint, bool, double)

void ConstructEndPointsArc(IPoint from, IPoint to, bool isCCW, double arcDistance)

Parameters

from IPoint
to IPoint
isCCW bool
arcDistance double

ConstructEndPointsChordHeight(IPoint, IPoint, bool, double)

void ConstructEndPointsChordHeight(IPoint from, IPoint to, bool isCCW, double ChordHeight)

Parameters

from IPoint
to IPoint
isCCW bool
ChordHeight double

ConstructEndPointsRadius(IPoint, IPoint, bool, double, bool)

void ConstructEndPointsRadius(IPoint from, IPoint to, bool isCCW, double inRadius, bool IsMinor)

Parameters

from IPoint
to IPoint
isCCW bool
inRadius double
IsMinor bool

ConstructEndPointsTangent(IPoint, IPoint, bool, double)

void ConstructEndPointsTangent(IPoint from, IPoint to, bool isCCW, double tangentDistance)

Parameters

from IPoint
to IPoint
isCCW bool
tangentDistance double

ConstructFilletPoint(ISegment, ISegment, IPoint, IPoint)

void ConstructFilletPoint(ISegment s1, ISegment s2, IPoint from, IPoint hintPoint)

Parameters

s1 ISegment
s2 ISegment
from IPoint
hintPoint IPoint

ConstructFilletRadius(ISegment, ISegment, double, IPoint)

void ConstructFilletRadius(ISegment s1, ISegment s2, double inRadius, IPoint hintPoint)

Parameters

s1 ISegment
s2 ISegment
inRadius double
hintPoint IPoint

ConstructTangentAndPoint(ISegment, bool, IPoint)

void ConstructTangentAndPoint(ISegment s, bool atFrom, IPoint p)

Parameters

s ISegment
atFrom bool
p IPoint

ConstructTangentAngleArc(ISegment, bool, bool, double, double)

void ConstructTangentAngleArc(ISegment Segment, bool atStart, bool isCCW, double CentralAngle, double arcDistance)

Parameters

Segment ISegment
atStart bool
isCCW bool
CentralAngle double
arcDistance double

ConstructTangentAngleChord(ISegment, bool, bool, double, double)

void ConstructTangentAngleChord(ISegment Segment, bool atStart, bool isCCW, double CentralAngle, double chordDistance)

Parameters

Segment ISegment
atStart bool
isCCW bool
CentralAngle double
chordDistance double

ConstructTangentAngleTangent(ISegment, bool, bool, double, double)

void ConstructTangentAngleTangent(ISegment Segment, bool atStart, bool isCCW, double CentralAngle, double tangentDistance)

Parameters

Segment ISegment
atStart bool
isCCW bool
CentralAngle double
tangentDistance double

ConstructTangentArcTangent(ISegment, bool, bool, double, double)

void ConstructTangentArcTangent(ISegment Segment, bool atStart, bool isCCW, double arcDistance, double tangentDistance)

Parameters

Segment ISegment
atStart bool
isCCW bool
arcDistance double
tangentDistance double

ConstructTangentChordArc(ISegment, bool, bool, double, double)

void ConstructTangentChordArc(ISegment Segment, bool atStart, bool isCCW, double chordDistance, double arcDistance)

Parameters

Segment ISegment
atStart bool
isCCW bool
chordDistance double
arcDistance double

ConstructTangentChordTangent(ISegment, bool, bool, double, double)

void ConstructTangentChordTangent(ISegment Segment, bool atStart, bool isCCW, double chordDistance, double tangentDistance)

Parameters

Segment ISegment
atStart bool
isCCW bool
chordDistance double
tangentDistance double

ConstructTangentDistance(IPoint, IPoint, bool, double)

void ConstructTangentDistance(IPoint Center, IPoint from, bool isCCW, double tangentDistance)

Parameters

Center IPoint
from IPoint
isCCW bool
tangentDistance double

ConstructTangentRadiusAngle(ISegment, bool, bool, double, double)

void ConstructTangentRadiusAngle(ISegment Segment, bool atStart, bool isCCW, double inRadius, double CentralAngle)

Parameters

Segment ISegment
atStart bool
isCCW bool
inRadius double
CentralAngle double

ConstructTangentRadiusArc(ISegment, bool, bool, double, double)

void ConstructTangentRadiusArc(ISegment Segment, bool atStart, bool isCCW, double inRadius, double arcDistance)

Parameters

Segment ISegment
atStart bool
isCCW bool
inRadius double
arcDistance double

ConstructTangentRadiusChord(ISegment, bool, bool, double, double)

void ConstructTangentRadiusChord(ISegment Segment, bool atStart, bool isCCW, double inRadius, double chordDistance)

Parameters

Segment ISegment
atStart bool
isCCW bool
inRadius double
chordDistance double

ConstructTangentRadiusChordEx(ISegment, bool, bool, double, double, bool)

Constructs an arc with a common tangent to the input segment, a given radius and a chord length.

void ConstructTangentRadiusChordEx(ISegment Segment, bool atStart, bool isCCW, double inRadius, double chordDistance, bool IsMinor)

Parameters

Segment ISegment
atStart bool
isCCW bool
inRadius double
chordDistance double
IsMinor bool

Remarks

Please see the ConstructTangentRadiusChord method for more details.

-isCCW stands for "is counter clockwise"

-If IsMinor is true the central angle of the output Arc will be smaller or equal than PI (Approx. 3.14 Rad)

[C#]
private void ConstructTangentRadiusChordEx()
{
  IConstructCircularArc2 constructCircularArc = new CircularArcClass();
  ICircularArc circularArc = constructCircularArc as ICircularArc;

IPoint fromPoint = new PointClass(); fromPoint.PutCoords(100, 100); IPoint toPoint = new PointClass(); toPoint.PutCoords(50, 50); ILine line = new LineClass(); line.PutCoords(fromPoint, toPoint); constructCircularArc.ConstructTangentRadiusChordEx(line as ISegment, true, true, 100, 50, true);

String report = "Length : " + circularArc.Length + "\n" + "Radius : " + circularArc.Radius + "\n" + "Chord Height : " + circularArc.ChordHeight + "\n" + "Central Angle (Rad) : " + circularArc.CentralAngle + "\n" + "From Angle (Rad) : " + circularArc.FromAngle + "\n" + "To Angle (Rad) : " + circularArc.ToAngle + "\n" + "Center Point : " + circularArc.CenterPoint.X + " , " + circularArc.CenterPoint.Y + "\n" + "From Point : " + circularArc.FromPoint.X + " , " + circularArc.FromPoint.Y + "\n" + "To Point : " + circularArc.ToPoint.X + " , " + circularArc.ToPoint.Y; System.Windows.Forms.MessageBox.Show(report); }

[Visual Basic .NET]

    Private Sub ConstructTangentRadiusChordEx()
        Dim pConstructCircularArc As ESRI.ArcGIS.Geometry.IConstructCircularArc2
        Dim pCArc As ESRI.ArcGIS.Geometry.ICircularArc
        Dim pToPoint As ESRI.ArcGIS.Geometry.IPoint
        Dim pFromPoint As ESRI.ArcGIS.Geometry.IPoint
        Dim pLine1 As ESRI.ArcGIS.Geometry.ILine
        pConstructCircularArc = New ESRI.ArcGIS.Geometry.CircularArc
        pCArc = pConstructCircularArc
        pFromPoint = New ESRI.ArcGIS.Geometry.Point
        pToPoint = New ESRI.ArcGIS.Geometry.Point
        pLine1 = New ESRI.ArcGIS.Geometry.Line
        pFromPoint.PutCoords(100, 100)
        pToPoint.PutCoords(100, 400)
        pLine1.PutCoords(pFromPoint, pToPoint)
        pConstructCircularArc.ConstructTangentRadiusChordEx(pLine1, False, True, 50, 100, True)
        Debug.Print("Length : " & pCArc.Length)
        Debug.Print("Radius : " & pCArc.Radius)
        Debug.Print("Chord Height : " & pCArc.ChordHeight)
        Debug.Print("Central Angle (Rad) : " & pCArc.CentralAngle)
        Debug.Print("From Angle (Rad) : " & pCArc.FromAngle)
        Debug.Print("To Angle (Rad) : " & pCArc.ToAngle)
        Debug.Print("Center Point : " & pCArc.CenterPoint.X & " , " & pCArc.CenterPoint.Y)
        Debug.Print("From Point : " & pCArc.FromPoint.X & " , " & pCArc.FromPoint.Y)
        Debug.Print("To Point : " & pCArc.ToPoint.X & " , " & pCArc.ToPoint.Y)
    End Sub
























ConstructTangentRadiusTangent(ISegment, bool, bool, double, double)

void ConstructTangentRadiusTangent(ISegment Segment, bool atStart, bool isCCW, double inRadius, double tangentDistance)

Parameters

Segment ISegment
atStart bool
isCCW bool
inRadius double
tangentDistance double

ConstructThreePoints(IPoint, IPoint, IPoint, bool)

void ConstructThreePoints(IPoint from, IPoint middle, IPoint to, bool useExistingCenter)

Parameters

from IPoint
middle IPoint
to IPoint
useExistingCenter bool

QueryFilletRadiusRange(ISegment, ISegment, IPoint, out double, out double)

void QueryFilletRadiusRange(ISegment s1, ISegment s2, IPoint hintPoint, out double minRadius, out double maxRadius)

Parameters

s1 ISegment
s2 ISegment
hintPoint IPoint
minRadius double
maxRadius double