Public Member Functions | |
WTriangle () | |
WTriangle (const gfx::Triangle3 &t) | |
WTriangle (const WTriangle &t) | |
virtual | ~WTriangle () |
void | compNorm () |
void | compW () |
const Point3 & | operator[] (Int i) const throw () |
const Point3 & | operator() (Int i) const throw () |
virtual const Point3 & | p1 () const |
virtual const Point3 & | p2 () const |
virtual const Point3 & | p3 () const |
virtual void | setp1 (const Point3 &p) |
virtual void | setp2 (const Point3 &p) |
virtual void | setp3 (const Point3 &p) |
virtual const Point3 & | e (Int i) const throw () |
const Point3 & | at (Int i) const throw (std::out_of_range) |
bool | operator== (const Triangle3 &t) const throw () |
bool | equals (const Triangle3 &t) const throw () |
Vector3 | normal () const throw () |
Triangle3 & | operator+= (const Vector3 &v) |
Triangle3 & | operator-= (const Vector3 &v) |
Triangle3 & | operator *= (Real s) |
Triangle3 & | operator/= (Real s) |
void | transform (const base::Transform &t) |
Real | distanceTo (const Point3 &p) const |
shortest distance between triangle and p | |
Real | distanceTo (const Segment3 &s) const |
shortest distance between this triangle and the segment s | |
Real | distanceTo (const Triangle3 &t) const |
shortest distance between this triangle and the triangle t | |
Point3 | pointClosestTo (const Point3 &p) const |
find point on triangle that is closest to p | |
bool | contains (const Point3 &p) const |
Segment3 | shortestSegmentBetween (const Segment3 &s) const |
return the shortest segment between this triangle and the segment s | |
Segment3 | shortestSegmentBetween (const Triangle3 &t) const |
return the shortest segment between this triangle and the triangle t | |
bool | intersect (const Triangle3 &t) const |
bool | contact (const Triangle3 &t, Contact &contact) const |
Public Attributes | |
Vector3 | norm |
Real | w |
Protected Member Functions | |
Segment3 | shortestSegmentBetween (const Segment3 &seg, Real &ds) const |
Protected Attributes | |
Point3 | _p1 |
Point3 | _p2 |
Point3 | _p3 |
|
Definition at line 77 of file MassProperties.cpp. |
|
Definition at line 78 of file MassProperties.cpp. References gfx. |
|
Definition at line 79 of file MassProperties.cpp. References gfx. |
|
Definition at line 80 of file MassProperties.cpp. |
|
Definition at line 70 of file Triangle3. References gfx::Triangle3::e(), and base::Point3. Referenced by gfx::TriangleDesc::operator[](). |
|
Definition at line 82 of file MassProperties.cpp. |
|
Definition at line 83 of file MassProperties.cpp. |
|
|
|
Definition at line 136 of file Triangle3. References gfx::Triangle3::distanceTo(), and base::Point3. |
|
shortest distance between this triangle and the triangle t
|
|
shortest distance between this triangle and the segment s
Definition at line 147 of file Triangle3. References gfx::Triangle3::shortestSegmentBetween(). |
|
shortest distance between triangle and p
Referenced by gfx::Triangle3::contains(). |
|
Definition at line 61 of file Triangle3. References gfx::Triangle3::_p1, gfx::Triangle3::_p2, gfx::Triangle3::_p3, and base::Point3. Referenced by gfx::Triangle3::at(), gfx::Triangle3::operator()(), and gfx::Triangle3::operator[](). |
|
Definition at line 95 of file Triangle3. References base::Vector3::equals(), gfx::Triangle3::p1(), gfx::Triangle3::p2(), and gfx::Triangle3::p3(). |
|
|
|
Definition at line 103 of file Triangle3. References base::Vector3::normalize(), gfx::Triangle3::p1(), gfx::Triangle3::p2(), and gfx::Triangle3::p3(). |
|
Definition at line 118 of file Triangle3. References gfx::Triangle3::_p1, gfx::Triangle3::_p2, and gfx::Triangle3::_p3. |
|
Definition at line 51 of file Triangle3. References gfx::Triangle3::e(), and base::Point3. |
|
Definition at line 112 of file Triangle3. References gfx::Triangle3::p1(), gfx::Triangle3::p2(), gfx::Triangle3::p3(), gfx::Triangle3::setp1(), gfx::Triangle3::setp2(), and gfx::Triangle3::setp3(). |
|
Definition at line 115 of file Triangle3. References gfx::Triangle3::p1(), gfx::Triangle3::p2(), gfx::Triangle3::p3(), gfx::Triangle3::setp1(), gfx::Triangle3::setp2(), and gfx::Triangle3::setp3(). |
|
Definition at line 119 of file Triangle3. References gfx::Triangle3::_p1, gfx::Triangle3::_p2, and gfx::Triangle3::_p3. |
|
Definition at line 88 of file Triangle3. References gfx::Triangle3::p1(), gfx::Triangle3::p2(), and gfx::Triangle3::p3(). |
|
Reimplemented in gfx::TriangleDesc. Definition at line 50 of file Triangle3. References gfx::Triangle3::e(), and base::Point3. |
|
Definition at line 53 of file Triangle3. References gfx::Triangle3::_p1, and base::Point3. Referenced by gfx::Triangle3::equals(), gfx::Triangle3::normal(), gfx::Triangle3::operator+=(), gfx::Triangle3::operator-=(), gfx::operator<<(), gfx::Triangle3::operator==(), gfx::Plane::Plane(), and gfx::Triangle3::transform(). |
|
Definition at line 54 of file Triangle3. References gfx::Triangle3::_p2, and base::Point3. Referenced by gfx::Triangle3::equals(), gfx::Triangle3::normal(), gfx::Triangle3::operator+=(), gfx::Triangle3::operator-=(), gfx::operator<<(), gfx::Triangle3::operator==(), gfx::Plane::Plane(), and gfx::Triangle3::transform(). |
|
Definition at line 55 of file Triangle3. References gfx::Triangle3::_p3, and base::Point3. Referenced by gfx::Triangle3::equals(), gfx::Triangle3::normal(), gfx::Triangle3::operator+=(), gfx::Triangle3::operator-=(), gfx::operator<<(), gfx::Triangle3::operator==(), gfx::Plane::Plane(), and gfx::Triangle3::transform(). |
|
find point on triangle that is closest to p
|
|
Definition at line 56 of file Triangle3. References gfx::Triangle3::_p1, and base::Point3. Referenced by gfx::Triangle3::operator+=(), gfx::Triangle3::operator-=(), gfx::Triangle3::operator=(), and gfx::Triangle3::transform(). |
|
Definition at line 57 of file Triangle3. References gfx::Triangle3::_p2, and base::Point3. Referenced by gfx::Triangle3::operator+=(), gfx::Triangle3::operator-=(), gfx::Triangle3::operator=(), and gfx::Triangle3::transform(). |
|
Definition at line 58 of file Triangle3. References gfx::Triangle3::_p3, and base::Point3. Referenced by gfx::Triangle3::operator+=(), gfx::Triangle3::operator-=(), gfx::Triangle3::operator=(), and gfx::Triangle3::transform(). |
|
|
|
return the shortest segment between this triangle and the triangle t
|
|
return the shortest segment between this triangle and the segment s
Definition at line 140 of file Triangle3. Referenced by gfx::Triangle3::distanceTo(). |
|
Definition at line 122 of file Triangle3. References gfx::Triangle3::p1(), gfx::Triangle3::p2(), gfx::Triangle3::p3(), gfx::Triangle3::setp1(), gfx::Triangle3::setp2(), and gfx::Triangle3::setp3(). |
|
Definition at line 176 of file Triangle3. Referenced by gfx::Triangle3::e(), gfx::Triangle3::operator *=(), gfx::Triangle3::operator/=(), gfx::Triangle3::p1(), gfx::Triangle3::setp1(), and gfx::Triangle3::Triangle3(). |
|
Definition at line 176 of file Triangle3. Referenced by gfx::Triangle3::e(), gfx::Triangle3::operator *=(), gfx::Triangle3::operator/=(), gfx::Triangle3::p2(), gfx::Triangle3::setp2(), and gfx::Triangle3::Triangle3(). |
|
Definition at line 176 of file Triangle3. Referenced by gfx::Triangle3::e(), gfx::Triangle3::operator *=(), gfx::Triangle3::operator/=(), gfx::Triangle3::p3(), gfx::Triangle3::setp3(), and gfx::Triangle3::Triangle3(). |
|
Definition at line 85 of file MassProperties.cpp. |
|
Definition at line 86 of file MassProperties.cpp. |