entttree 0.1.0
Hierarchical entity management for EnTT
Loading...
Searching...
No Matches
entttree::PointSearchNode< Node, T, N > Struct Template Reference

A bounded node augmented with a point transformed into local coordinates. More...

#include <hierarchy_types.h>

Inheritance diagram for entttree::PointSearchNode< Node, T, N >:
entttree::BoundedNode< Node, T, N > entttree::TransformedNode< Node, T, N >

Public Attributes

Vec< T, Nlocal_point
 The query point in this node's local coordinate system.
 
- Public Attributes inherited from entttree::BoundedNode< Node, T, N >
std::optional< Rect< T, N > > intrinsic_bounds
 The entity's own bounds, if set.
 
std::optional< Rect< T, N > > computed_bounds
 Union of intrinsic + children bounds, if any.
 
- Public Attributes inherited from entttree::TransformedNode< Node, T, N >
Node node
 The underlying node handle.
 
AffineTransform< T, Nnode_to_root
 Cumulative transform from node space to root space.
 

Additional Inherited Members

- Public Types inherited from entttree::TransformedNode< Node, T, N >
using InnerNode = Node
 

Detailed Description

template<typename Node, typename T, size_t N>
struct entttree::PointSearchNode< Node, T, N >

A bounded node augmented with a point transformed into local coordinates.

Yielded by BoundsSystem::traverse_under_point() and search_under_point().

Template Parameters
NodeThe inner node type.
TScalar type.
NSpatial dimension.

Definition at line 194 of file hierarchy_types.h.

Member Data Documentation

◆ local_point

template<typename Node , typename T , size_t N>
Vec<T,N> entttree::PointSearchNode< Node, T, N >::local_point

The query point in this node's local coordinate system.

Definition at line 195 of file hierarchy_types.h.


The documentation for this struct was generated from the following file: