FeatureLineExtendWithFixedCurve(Boolean, Point3d) Method

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.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.9.0.960
Syntax
public void ExtendWithFixedCurve(
	bool extendFromStart,
	Point3d targetPoint
)

Parameters

extendFromStart  Boolean
True to extend from the start point, false to extend from the end point.
targetPoint  Point3d
The 3D target point where the arc segment should end.
Exceptions
ExceptionCondition
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)
Example
C#
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);
See Also