esp::geo namespace

Contents

Classes

class CoordinateFrame
class OBB
struct Ray

Typedefs

using Transform = Eigen::Transform<float, 3, Eigen::Affine, Eigen::DontAlign>

Functions

void initGeoBindings(pybind11::module& m)
auto operator==(const CoordinateFrame& a, const CoordinateFrame& b) -> bool
auto operator!=(const CoordinateFrame& a, const CoordinateFrame& b) -> bool
auto operator<<(std::ostream& os, const CoordinateFrame& c) -> std::ostream&
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
auto operator<<(std::ostream& os, const OBB& obb) -> std::ostream&
auto computeGravityAlignedMOBB(const vec3f& gravity, const std::vector<vec3f>& points) -> OBB

Variables

static const vec3f ESP_UP
global/world up direction
static const vec3f ESP_GRAVITY
global/world gravity (down) direction
static const vec3f ESP_FRONT
global/world front direction
static const vec3f ESP_BACK
global/world back direction