Extends the feature line with a curved arc segment to the specified target point. This method adds a new fixed arc segment to either the beginning or end of the feature line, creating a smooth curve from the current start/end point to the specified target point. The arc is automatically calculated based on the current tangent direction and target point. The method determines the optimal arc geometry to create a smooth transition.
public void ExtendWithFixedCurve( bool extendFromStart, Point3d targetPoint )
Public Sub ExtendWithFixedCurve ( extendFromStart As Boolean, targetPoint As Point3d )
public: void ExtendWithFixedCurve( bool extendFromStart, Point3d targetPoint )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when: - The specified point is invalid or creates 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 an arc to a target point 2Point3d targetPoint = new Point3d(120.0, 60.0, 0.0); 3featureLine.ExtendWithFixedCurve(false, targetPoint);