IConstructCircularArc2 Interface

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

Members

Name Description
Method ConstructArcDistance Constructs an arc from a center point, a starting point, and an arc length.
Method ConstructBearingAngleArc Constructs an arc with the given chord bearing, central angle and arc distance.
Method ConstructBearingAngleChord Constructs an arc with the given chord bearing, central angle and chord distance.
Method ConstructBearingAngleTangent Constructs an arc with the given chord bearing, central angle and tangent distance.
Method ConstructBearingArcTangent Constructs an arc with the given chord bearing, arc distance and tangent distance.
Method ConstructBearingChordArc Constructs an arc with the given chord bearing, chord distance and arc distance (negative for clockwise orientation).
Method ConstructBearingChordTangent Constructs an arc with the given chord bearing, chord distance and tangent distance.
Method ConstructBearingRadiusAngle Constructs an arc with the given chord bearing, radius and central angle.
Method ConstructBearingRadiusArc Constructs an arc with the given chord bearing, radius and arc distance.
Method ConstructBearingRadiusChord Constructs an arc with the given chord bearing, radius and chord distance.
Method ConstructBearingRadiusTangent Constructs an arc with the given chord bearing, radius and tangent distance.
Method ConstructChordDistance Constructs an arc from a center point, a starting point, and a chord length.
Method ConstructChordDistanceEx Constructs an arc from a center point, a from point, and a chord length.
Method ConstructCircle Constructs a circle of a given radius and orientation.
Method ConstructEndPointsAngle Constructs an arc from the given endpoints and central angle.
Method ConstructEndPointsArc Constructs an arc from the given endpoints and arc distance.
Method ConstructEndPointsChordHeight Constructs an arc with specified endpoints and and chord height.
Method ConstructEndPointsRadius Constructs an arc from the given endpoints and radius.
Method ConstructEndPointsTangent Constructs an arc from the given endpoints and tangent distance.
Method ConstructFilletPoint Constructs an arc of given start point near first segment and tangent to two segments. hintPoint can be nil or can be a location near the desired fillet.
Method ConstructFilletRadius Constructs an arc of given radius and tangent to two segments. hintPoint can be nil or can be a location near the desired fillet.
Method ConstructTangentAndPoint Constructs an arc with one endpoint being p, tangent to s, and connected to s. If atFrom is true, the connection is at s's from point, otherwise at s's to point.
Method ConstructTangentAngleArc Constructs an arc with a common tangent to the input segment, a given central angle and an arc length.
Method ConstructTangentAngleChord Constructs an arc with a common tangent to the input segment, a given central angle and a chord length.
Method ConstructTangentAngleTangent Constructs an arc with a common tangent to the input segment, a given central angle and a tangent length.
Method ConstructTangentArcTangent Constructs an arc with a common tangent to the input segment, a given arc length and a tangent length.
Method ConstructTangentChordArc Constructs an arc with a common tangent to the input segment, a given chord length and an arc length.
Method ConstructTangentChordTangent Constructs an arc with a common tangent to input segment, a given chord length and a tangent length.
Method ConstructTangentDistance Constructs an arc from a center point, a starting point, and an tangent length.
Method ConstructTangentRadiusAngle Constructs an arc with a common tangent to the input segment, a given radius and a central angle.
Method ConstructTangentRadiusArc Constructs an arc having a common tangent to the input segment, a given radius and an arc length.
Method ConstructTangentRadiusChord Constructs an arc with a common tangent to the input segment, a given radius and a chord length.
Method ConstructTangentRadiusChordEx Constructs an arc with a common tangent to the input segment, a given radius and a chord length.
Method ConstructTangentRadiusTangent Constructs an arc with a common tangent to the input segment, a given radius and a tangent length.
Method ConstructThreePoints Constructs an arc from three points. useExistingCenter can be set to true in order to help create a reasonable arc when from and to are identical.
Method QueryFilletRadiusRange Returns minimum and maximum radius for fillet to touch both input segments. hintPoint can be nil or can be a location near the desired fillet.

IConstructCircularArc2.ConstructChordDistanceEx Method

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

Public Sub ConstructChordDistanceEx ( _
    ByVal Center As IPoint, _
    ByVal from As IPoint, _
    ByVal isCCW As Boolean, _
    ByVal chordDistance As Double, _
    ByVal IsMinor As Boolean _
)
public void ConstructChordDistanceEx (
    IPoint Center,
    IPoint from,
    bool isCCW,
    double chordDistance,
    bool IsMinor
);

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)

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);

        }
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

IConstructCircularArc2.ConstructTangentRadiusChordEx Method

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

Public Sub ConstructTangentRadiusChordEx ( _
    ByVal Segment As ISegment, _
    ByVal atStart As Boolean, _
    ByVal isCCW As Boolean, _
    ByVal inRadius As Double, _
    ByVal chordDistance As Double, _
    ByVal IsMinor As Boolean _
)
public void ConstructTangentRadiusChordEx (
    ISegment Segment,
    bool atStart,
    bool isCCW,
    double inRadius,
    double chordDistance,
    bool IsMinor
);

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)

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);

}
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

Inherited Interfaces

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

Classes that implement IConstructCircularArc2

Classes Description
CircularArc A portion of a circle that connects two points optionally has measure, height and ID attributes at each endpoint.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.