Extends the feature line with a straight line segment of specified length. This method adds a new fixed linear segment to either the beginning or end of the feature line, extending in the current direction by the specified distance. The extension direction is determined by the tangent direction at the start or end point. For smoothed feature lines, the extension follows the smoothed curve's tangent direction.
public void ExtendWithFixedLine( bool extendFromStart, double length )
Public Sub ExtendWithFixedLine ( extendFromStart As Boolean, length As Double )
public: void ExtendWithFixedLine( bool extendFromStart, double length )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when: - The length is zero, negative, or below the minimum tolerance - The feature line is closed (closed feature lines cannot be extended) - The extension cannot be performed due to geometric constraints |
1// Extend feature line by 25 units from the end point 2featureLine.ExtendWithFixedLine(false, 25.0);