GEL
2
GEL is a library for Geometry and Linear Algebra
|
Public Member Functions | |
Triangle (const CGLA::Vec3f &_v0, const CGLA::Vec3f &_v1, const CGLA::Vec3f &_v2, const CGLA::Vec3f &_vn0, const CGLA::Vec3f &_vn1, const CGLA::Vec3f &_vn2, const CGLA::Vec3f &_en0, const CGLA::Vec3f &_en1, const CGLA::Vec3f &_en2) | |
bool | intersect (const CGLA::Vec3f &, const CGLA::Vec3f &, float &) const |
const CGLA::Vec3f | get_pmin () const |
const CGLA::Vec3f | get_pmax () const |
const CGLA::Vec3f | centre () const |
const float | area () const |
const CGLA::Vec3f | get_centre () const |
bool | signed_distance (const CGLA::Vec3f &p, float &sq_dist, float &sgn) const |
CGLA::Vec3f | get_v0 () const |
CGLA::Vec3f | get_v1 () const |
CGLA::Vec3f | get_v2 () const |
const CGLA::Vec3f & | get_edge (int i) const |
const CGLA::Vec3f & | get_face_norm () const |