Extends the feature line with a curved arc segment defined by three points. This method adds a new fixed arc segment to either the beginning or end of the feature line, creating a smooth curve that passes through the specified second point and ends at the target point. The arc is calculated using the three-point arc definition method, providing precise control over the arc's curvature and direction. This is useful when you need to create arcs with specific geometric constraints.
public void ExtendWithFixedCurve( bool extendFromStart, Point3d secondPoint, Point3d targetPoint )
Public Sub ExtendWithFixedCurve ( extendFromStart As Boolean, secondPoint As Point3d, targetPoint As Point3d )
public: void ExtendWithFixedCurve( bool extendFromStart, Point3d secondPoint, Point3d targetPoint )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when: - The specified points are invalid or create an invalid arc geometry - The feature line is closed (closed feature lines cannot be extended) - The arc cannot be created due to geometric constraints (e.g., collinear points) |
1// Extend feature line with a three-point arc 2Point3d secondPoint = new Point3d(110.0, 55.0, 0.0); 3Point3d targetPoint = new Point3d(120.0, 60.0, 0.0); 4featureLine.ExtendWithFixedCurve(false, secondPoint, targetPoint);