> ## 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.

# Conic Distance Field

## About this Block

**What it does:** The **Conic** block creates an Implicit Body defined by an implicit conic section curve. The signed distance of a planar conic segment will be returned. The block uses three control points (Point 1, Point 2, and Point 3) and a Rho value to define the curve's shape.
![Conic](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/conic.png)

* The Conic block takes input of Point 1, Point 2, Point 3, Rho, and the Coordinate Space to create the conic section. Point 4 is the midpoint of the chord between Point 1 and Point 3. Point 5 is where the curve intersects the chord between Point 4 and Point 2.
* You can use the **Vector Field from Components** block to create your control point vector fields and use a **Ramp** block to vary rho value.

**Common uses:**

* Designing aerodynamic profiles for wings, fuselages, and other vehicle bodies.
* Modeling smooth transitions in components like ducts, inlets, and nozzles to manage fluid flow.
* Creating architectural features like arches and curved facades.

**Tips:**

* For advanced applications, you can use a **Ramp** block to vary the Rho value, which will change the curve's shape across a spatial domain.
* You would need to combine it with a **Boolean Intersect** block to create a solid since the block only outputs the implicit surface.
* Rho Parameter Values. The Rho value defines the "bulge" or shape of the conic curve as it's pulled toward Point 2.

<div>
  <figure class="wysiwyg-table">
    <table class="wysiwyg-table-resized">
      <colgroup>
        <col style="width: 21%;" />

        <col style="width: 34%;" />

        <col style="width: 45%;" />
      </colgroup>

      <tbody>
        <tr>
          <td>
            <span><strong>Rho Value</strong></span>
          </td>

          <td>
            <span><strong>Resulting Curve Type</strong></span>
          </td>

          <td>
            <span><strong>Example</strong></span>
          </td>
        </tr>

        <tr>
          <td>
            <span>Rho\<0.5</span>
          </td>

          <td>
            <span>Ellipse</span>
          </td>

          <td>
            <span>
              <span>
                <img src="https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/ellipse.png" width="265" height="177" />
              </span>
            </span>
          </td>
        </tr>

        <tr>
          <td>
            <span>Rho=0.5</span>
          </td>

          <td>
            <span>Parabola</span>
          </td>

          <td>
            <span>
              <span>
                <img src="https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/parabola.png" width="265" height="177" />
              </span>
            </span>
          </td>
        </tr>

        <tr>
          <td>
            <span>Rho>0.5</span>
          </td>

          <td>
            <span>Hyperbola</span>
          </td>

          <td>
            <span>
              <span>
                <img src="https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/hyperbola.png" width="265" height="157" />
              </span>
            </span>
          </td>
        </tr>
      </tbody>
    </table>
  </figure>
</div>

## Example File

Download Example: [Conic](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/conic_and_cubic.ntop)
![Conic Example](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/conic_example.png)

***

Create a conic section distance field. The signed distance of a planar conic curve will be returned.

### Inputs

| Name             | Type                                                                     | Description                                                                                      |
| ---------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
| Point 1          | [2D Vector Field](../../../../block-documentation/types/2d-vector-field) | Start point of the conic curve.                                                                  |
| Point 2          | [2D Vector Field](../../../../block-documentation/types/2d-vector-field) | Apex point of the conic curve. The tangent lines at the start and end points meet at this point. |
| Point 3          | [2D Vector Field](../../../../block-documentation/types/2d-vector-field) | End point of the conic curve.                                                                    |
| Rho              | [Scalar Field](../../../../block-documentation/types/scalar-field)       | Rho value of the conic in the range (0,1).                                                       |
| Coordinate space | [2D Vector Field](../../../../block-documentation/types/2d-vector-field) | Vector Field representing the basis in which to evaluate the curve.                              |

### Outputs

| Type                                                                 |
| -------------------------------------------------------------------- |
| [Implicit Body](../../../../block-documentation/types/implicit-body) |
