#include <geom3f.hpp>
Definition at line 27 of file geom3f.hpp.
◆ operator*=()
| LineSeg3f & jau::math::geom::LineSeg3f::operator*= |
( |
const float | s | ) |
|
|
inlineconstexprnoexcept |
Scale this line segment with given scale factor.
- Parameters
-
- Returns
- this instance
Definition at line 36 of file geom3f.hpp.
◆ toString()
| std::string jau::math::geom::LineSeg3f::toString |
( |
| ) |
const |
|
inlinenoexcept |
◆ intersects() [1/3]
| bool jau::math::geom::LineSeg3f::intersects |
( |
Point3f & | result, |
|
|
const LineSeg3f & | o ) |
|
inline |
Compute intersection between two lines segments.
- Parameters
-
| result | storage for the intersection coordinates if the lines intersect, otherwise unchanged |
| a | vertex 1 of first line |
| b | vertex 2 of first line |
| c | vertex 1 of second line |
| d | vertex 2 of second line |
- Returns
- true if the line segments intersect, otherwise false
Definition at line 53 of file geom3f.hpp.
◆ intersects() [2/3]
| bool jau::math::geom::LineSeg3f::intersects |
( |
const LineSeg3f & | o | ) |
|
|
inline |
Compute intersection between two lines segments.
- Parameters
-
| a | vertex 1 of first line |
| b | vertex 2 of first line |
| c | vertex 1 of second line |
| d | vertex 2 of second line |
- Returns
- true if the line segments intersect, otherwise false
Definition at line 81 of file geom3f.hpp.
◆ intersects() [3/3]
| bool jau::math::geom::LineSeg3f::intersects |
( |
const AABBox3f & | box | ) |
const |
|
inlinenoexcept |
◆ p0
| Point3f jau::math::geom::LineSeg3f::p0 |
◆ p1
| Point3f jau::math::geom::LineSeg3f::p1 |
The documentation for this struct was generated from the following file: