74 X() = (bmin.
X() + bmax.
X()) * 0.5;
75 Y() = (bmin.
Y() + bmax.
Y()) * 0.5;
76 Z() = (bmin.
Z() + bmax.
Z()) * 0.5;
77 T dx = bmax.
X() - bmin.
X();
78 T dy = bmax.
Y() - bmin.
Y();
79 T dz = bmax.
Z() - bmin.
Z();
80 T diagonal =
T(sqrt(dx * dx + dy * dy + dz * dz));
123 return dx * dx + dy * dy + dz * dz;
Vector dim 2.
Definition: vhacdVector.h:136
void operator=(const Vec2 &rhs)
Definition: vhacdVector.inl:242
void operator*=(T a)
Definition: vhacdVector.inl:278
T & operator[](size_t i)
Definition: vhacdVector.h:138
void operator/=(T a)
Definition: vhacdVector.inl:272
void Normalize()
Definition: vhacdVector.inl:231
T & X()
Definition: vhacdVector.inl:211
Vec2 operator-() const
Definition: vhacdVector.inl:304
~Vec2(void)
Definition: vhacdVector.inl:337
void operator-=(const Vec2 &rhs)
Definition: vhacdVector.inl:254
T operator^(const Vec2 &rhs) const
Definition: vhacdVector.inl:284
T GetNorm() const
Definition: vhacdVector.inl:237
const T & operator[](size_t i) const
Definition: vhacdVector.h:139
Vec2 operator+(const Vec2 &rhs) const
Definition: vhacdVector.inl:294
Vec2 operator-(const Vec2 &rhs) const
T operator*(const Vec2 &rhs) const
Vec2 operator/(T rhs) const
Definition: vhacdVector.inl:315
T m_data[2]
Definition: vhacdVector.h:167
T & Y()
Definition: vhacdVector.inl:216
void operator+=(const Vec2 &rhs)
Definition: vhacdVector.inl:248
Vec2()
Definition: vhacdVector.inl:340
Vector dim 3.
Definition: vhacdVector.h:37
T & Y()
Definition: vhacdVector.inl:18
bool operator>(const Vec3 &rhs) const
Definition: vhacdVector.inl:193
T operator*(const Vec3 &rhs) const
~Vec3(void)
Definition: vhacdVector.inl:160
Vec3 operator+(const Vec3 &rhs) const
Definition: vhacdVector.inl:115
T GetNorm() const
Definition: vhacdVector.inl:49
T GetDistance(const Vec3 &p) const
Definition: vhacdVector.h:126
Vec3 operator-(const Vec3 &rhs) const
Vec3()
Definition: vhacdVector.inl:163
void operator-=(const Vec3 &rhs)
Definition: vhacdVector.inl:68
Vec3 operator/(T rhs) const
Definition: vhacdVector.inl:136
T & X()
Definition: vhacdVector.inl:13
void operator/=(T a)
Definition: vhacdVector.inl:89
T GetDistanceSquared(const Vec3 &p) const
Definition: vhacdVector.h:118
const T & operator[](size_t i) const
Definition: vhacdVector.h:40
void UpdateMinMax(Vec3 &bmin, Vec3 &bmax) const
Definition: vhacdVector.h:85
void Normalize()
Definition: vhacdVector.inl:43
Vec3 operator-() const
Definition: vhacdVector.inl:125
void operator+=(const Vec3 &rhs)
Definition: vhacdVector.inl:61
void operator*=(T a)
Definition: vhacdVector.inl:96
T & Z()
Definition: vhacdVector.inl:23
T & operator[](size_t i)
Definition: vhacdVector.h:39
Vec3 operator^(const Vec3 &rhs) const
Definition: vhacdVector.inl:103
void operator=(const Vec3 &rhs)
Definition: vhacdVector.inl:54
T * GetData(void)
Definition: vhacdVector.h:128
T GetCenter(const Vec3 &bmin, const Vec3 &bmax)
Definition: vhacdVector.h:72
bool operator<(const Vec3 &rhs) const
Definition: vhacdVector.inl:180
T m_data[3]
Definition: vhacdVector.h:131
Definition: polygon_mesh.h:46
const T ComputeVolume4(const Vec3< T > &a, const Vec3< T > &b, const Vec3< T > &c, const Vec3< T > &d)
Definition: vhacdVector.inl:174
bool Colinear(const Vec3< T > &a, const Vec3< T > &b, const Vec3< T > &c)
Definition: vhacdVector.inl:166
Definition: bullet_cast_bvh_manager.h:49
tesseract_geometry::PolygonMesh T
Definition: tesseract_geometry_unit.cpp:140
Collision::Ptr c
Definition: tesseract_scene_graph_link_unit.cpp:130