file
geo.h
Contents
- Reference
Namespaces
Classes
- struct esp::geo::Ray
Typedefs
- using Transform = Eigen::Transform<float, 3, Eigen::Affine, Eigen::DontAlign>
Functions
-
auto convexHull2D(const std::
vector<vec2f>& points) -> std:: vector<vec2f> -
auto getTransformedBB(const Magnum::
Range3D& range, const Magnum:: Matrix4& xform) -> Magnum:: Range3D - Compute the axis-aligned bounding box which results from applying a transform to an existing bounding box.
-
template<typename T>auto clamp(const T& n, const T& low, const T& high) -> T
Variables
Function documentation
Magnum:: Range3D getTransformedBB(const Magnum:: Range3D& range,
const Magnum:: Matrix4& xform)
Compute the axis-aligned bounding box which results from applying a transform to an existing bounding box.
Parameters | |
---|---|
range | The initial axis-aligned bounding box. |
xform | The desired transform to apply. |
Returns | The resulting, transformed axis-aligned bounding box. |