2D Directed line segment with metadata.
More...
#include <bvh.hpp>
|
| constexpr AABB2D | bounds (float padding=0.f) const noexcept |
| constexpr glm::vec2 | dir () const noexcept |
| constexpr float | len_sq () const noexcept |
2D Directed line segment with metadata.
◆ bounds()
| AABB2D hmap::Segment2D::bounds |
( |
float | padding = 0.f | ) |
const |
|
inlineconstexprnoexcept |
◆ dir()
| glm::vec2 hmap::Segment2D::dir |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ len_sq()
| float hmap::Segment2D::len_sq |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ p0
| glm::vec2 hmap::Segment2D::p0 {0.f} |
◆ p1
| glm::vec2 hmap::Segment2D::p1 {0.f} |
◆ v0
| float hmap::Segment2D::v0 {0.f} |
◆ v1
| float hmap::Segment2D::v1 {0.f} |
◆ s0
| float hmap::Segment2D::s0 {0.f} |
◆ s1
| float hmap::Segment2D::s1 {0.f} |
◆ k0
| size_t hmap::Segment2D::k0 {0} |
◆ k1
| size_t hmap::Segment2D::k1 {0} |
◆ path_index
| uint32_t hmap::Segment2D::path_index {0} |
◆ id
| uint32_t hmap::Segment2D::id {0} |
| glm::vec2 hmap::Segment2D::d {0.f} |
◆ inv_len_sq
| float hmap::Segment2D::inv_len_sq {0.f} |
The documentation for this struct was generated from the following file:
- HighMap/include/highmap/geometry/bvh.hpp