> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Extend Curve

Extend a curve by a given distance from one or both of its ends, returning the extended curve as a Polycurve.

### Inputs

| Name           | Type                                                   | Description                                                                                                                                                                                                                                                                                                                                                                              |
| -------------- | ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Curve          | [Curve](../../../../block-documentation/types/curve)   | Curve to extend.                                                                                                                                                                                                                                                                                                                                                                         |
| Distance       | [Scalar](../../../../block-documentation/types/scalar) | Distance by which to extend the curve.                                                                                                                                                                                                                                                                                                                                                   |
| Extend from    | Extend From Enum                                       | End or ends of the curve to extend from.                                                                                                                                                                                                                                                                                                                                                 |
| Extension type | Extension Type Enum                                    | Method of extension. Linear (G1) appends a straight line along the end tangent. Curvature (G2) extends along a circular arc matching the end tangent and curvature; always well-behaved. Natural (G-infinity) analytically continues the curve's own equation for an infinitely smooth junction, capping the analytic part before it can fold back on itself and continuing with an arc. |

### Outputs

| Type                                                         |
| ------------------------------------------------------------ |
| [Polycurve](../../../../block-documentation/types/polycurve) |
