Imported Upstream version 3.1.9
[platform/upstream/Imath.git] / docs / functions / line.rst
1 ..
2   SPDX-License-Identifier: BSD-3-Clause
3   Copyright Contributors to the OpenEXR Project.
4
5 .. _line-functions:
6
7 Line3 Functions
8 ###############
9
10 .. code-block::
11
12    #include <Imath/ImathLineAlgo.h>   
13
14 Functions that operate on the ``Line3`` object.
15
16 .. doxygenfunction:: closestPoints
17                      
18 .. doxygenfunction:: intersect(const Line3<T>& line, const Vec3<T>&v0, const Vec3<T>& v1, const Vec3<T>& v2, Vec3<T>& pt, Vec3<T>& barycentric, bool& front) noexcept
19                      
20 .. doxygenfunction:: closestVertex(const Vec3<T>& v0, const Vec3<T>& v1, const Vec3<T>& v2, const Line3<T>& l) noexcept
21
22 .. doxygenfunction:: rotatePoint