#include <geom3f.hpp>
Definition at line 37 of file geom3f.hpp.
◆ operator*=()
constexpr 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 47 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 64 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 92 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 |
◆ p2
Point3f jau::math::geom::LineSeg3f::p2 |
The documentation for this struct was generated from the following file: