Interface IConstructCircularArc2
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
ConstructBearingAngleArc(IPoint, double, bool, double, double)
void ConstructBearingAngleArc(IPoint from, double inAngle, bool isCCW, double CentralAngle, double arcDistance)
Parameters
ConstructBearingAngleChord(IPoint, double, bool, double, double)
void ConstructBearingAngleChord(IPoint from, double inAngle, bool isCCW, double CentralAngle, double chordDistance)
Parameters
ConstructBearingAngleTangent(IPoint, double, bool, double, double)
void ConstructBearingAngleTangent(IPoint from, double inAngle, bool isCCW, double CentralAngle, double tangentDistance)
Parameters
ConstructBearingArcTangent(IPoint, double, bool, double, double)
void ConstructBearingArcTangent(IPoint from, double inAngle, bool isCCW, double arcDistance, double tangentDistance)
Parameters
ConstructBearingChordArc(IPoint, double, bool, double, double)
void ConstructBearingChordArc(IPoint from, double inAngle, bool isCCW, double chordDistance, double arcDistance)
Parameters
ConstructBearingChordTangent(IPoint, double, bool, double, double)
void ConstructBearingChordTangent(IPoint from, double inAngle, bool isCCW, double chordDistance, double tangentDistance)
Parameters
ConstructBearingRadiusAngle(IPoint, double, bool, double, double)
void ConstructBearingRadiusAngle(IPoint startPoint, double inAngle, bool isCCW, double inRadius, double CentralAngle)
Parameters
ConstructBearingRadiusArc(IPoint, double, bool, double, double)
void ConstructBearingRadiusArc(IPoint from, double inAngle, bool isCCW, double inRadius, double arcDistance)
Parameters
ConstructBearingRadiusChord(IPoint, double, bool, double, double, bool)
void ConstructBearingRadiusChord(IPoint from, double inAngle, bool isCCW, double inRadius, double chordDistance, bool IsMinor)
Parameters
ConstructBearingRadiusTangent(IPoint, double, bool, double, double)
void ConstructBearingRadiusTangent(IPoint from, double inAngle, bool isCCW, double inRadius, double tangentDistance)
Parameters
ConstructChordDistance(IPoint, IPoint, bool, double)
void ConstructChordDistance(IPoint Center, IPoint from, bool isCCW, double chordDistance)
Parameters
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
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
ConstructCircle(IPoint, double, bool)
void ConstructCircle(IPoint CenterPoint, double Radius, bool isCCW)
Parameters
ConstructEndPointsAngle(IPoint, IPoint, bool, double)
void ConstructEndPointsAngle(IPoint from, IPoint to, bool isCCW, double CentralAngle)
Parameters
ConstructEndPointsArc(IPoint, IPoint, bool, double)
void ConstructEndPointsArc(IPoint from, IPoint to, bool isCCW, double arcDistance)
Parameters
ConstructEndPointsChordHeight(IPoint, IPoint, bool, double)
void ConstructEndPointsChordHeight(IPoint from, IPoint to, bool isCCW, double ChordHeight)
Parameters
ConstructEndPointsRadius(IPoint, IPoint, bool, double, bool)
void ConstructEndPointsRadius(IPoint from, IPoint to, bool isCCW, double inRadius, bool IsMinor)
Parameters
ConstructEndPointsTangent(IPoint, IPoint, bool, double)
void ConstructEndPointsTangent(IPoint from, IPoint to, bool isCCW, double tangentDistance)
Parameters
ConstructFilletPoint(ISegment, ISegment, IPoint, IPoint)
void ConstructFilletPoint(ISegment s1, ISegment s2, IPoint from, IPoint hintPoint)
Parameters
ConstructFilletRadius(ISegment, ISegment, double, IPoint)
void ConstructFilletRadius(ISegment s1, ISegment s2, double inRadius, IPoint hintPoint)
Parameters
ConstructTangentAndPoint(ISegment, bool, IPoint)
void ConstructTangentAndPoint(ISegment s, bool atFrom, IPoint p)
Parameters
ConstructTangentAngleArc(ISegment, bool, bool, double, double)
void ConstructTangentAngleArc(ISegment Segment, bool atStart, bool isCCW, double CentralAngle, double arcDistance)
Parameters
ConstructTangentAngleChord(ISegment, bool, bool, double, double)
void ConstructTangentAngleChord(ISegment Segment, bool atStart, bool isCCW, double CentralAngle, double chordDistance)
Parameters
ConstructTangentAngleTangent(ISegment, bool, bool, double, double)
void ConstructTangentAngleTangent(ISegment Segment, bool atStart, bool isCCW, double CentralAngle, double tangentDistance)
Parameters
ConstructTangentArcTangent(ISegment, bool, bool, double, double)
void ConstructTangentArcTangent(ISegment Segment, bool atStart, bool isCCW, double arcDistance, double tangentDistance)
Parameters
ConstructTangentChordArc(ISegment, bool, bool, double, double)
void ConstructTangentChordArc(ISegment Segment, bool atStart, bool isCCW, double chordDistance, double arcDistance)
Parameters
ConstructTangentChordTangent(ISegment, bool, bool, double, double)
void ConstructTangentChordTangent(ISegment Segment, bool atStart, bool isCCW, double chordDistance, double tangentDistance)
Parameters
ConstructTangentDistance(IPoint, IPoint, bool, double)
void ConstructTangentDistance(IPoint Center, IPoint from, bool isCCW, double tangentDistance)
Parameters
ConstructTangentRadiusAngle(ISegment, bool, bool, double, double)
void ConstructTangentRadiusAngle(ISegment Segment, bool atStart, bool isCCW, double inRadius, double CentralAngle)
Parameters
ConstructTangentRadiusArc(ISegment, bool, bool, double, double)
void ConstructTangentRadiusArc(ISegment Segment, bool atStart, bool isCCW, double inRadius, double arcDistance)
Parameters
ConstructTangentRadiusChord(ISegment, bool, bool, double, double)
void ConstructTangentRadiusChord(ISegment Segment, bool atStart, bool isCCW, double inRadius, double chordDistance)
Parameters
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
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
ConstructTangentRadiusTangent(ISegment, bool, bool, double, double)
void ConstructTangentRadiusTangent(ISegment Segment, bool atStart, bool isCCW, double inRadius, double tangentDistance)
Parameters
ConstructThreePoints(IPoint, IPoint, IPoint, bool)
void ConstructThreePoints(IPoint from, IPoint middle, IPoint to, bool useExistingCenter)
Parameters
QueryFilletRadiusRange(ISegment, ISegment, IPoint, out double, out double)
void QueryFilletRadiusRange(ISegment s1, ISegment s2, IPoint hintPoint, out double minRadius, out double maxRadius)