.. _group__a3d__crvline:

############
Linear Curve
############


   2.0



Entity type is :c:enumerator:`~kA3DTypeCrvLine`\ .

The canonical form is defined with the help of :c:struct:`~A3DMiscCartesianTransformationData`\ , its origin (parameter 0) being the origin of the line and its vector X being the direction of the line. :c:struct:`~A3DParameterizationData` allows for reparameterization and trim.


Example of a line segment
=========================


 In the above illustration, the line is restricted to **[ t0 , t1 ]** interval on the X vector of its Cartesian transformation. 


   Scale from :c:struct:`~A3DMiscCartesianTransformationData` must be taken into account in previous evaluation's algorithms. 



   Y vector from :c:struct:`~A3DMiscCartesianTransformationData` has no particular meaning in this case and must be ignored. 



**Returns**


   ``A3D_SUCCESS`` on success, or an error code on failure


.. rst-class:: kind-group kind-record

.. rubric:: Structures
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:struct:`~A3DCrvLineData`

.. rst-class:: kind-group kind-function

.. rubric:: Functions
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:func:`~A3DCrvLineGet`
* :c:func:`~A3DCrvLineCreate`

.. toctree::
   :maxdepth: 1
   :hidden:

   ../structures/A3DCrvLineData
   ../functions/A3DCrvLineGet
   ../functions/A3DCrvLineCreate


