

Public Member Functions | |
| Triangle3 () | |
| Triangle3 (const Triangle3 &t) | |
| Triangle3 (const Point3 &p1, const Point3 &p2, const Point3 &p3) | |
| virtual | ~Triangle3 () |
| 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) |
| Triangle3 & | operator= (const Triangle3 &src) throw () |
| 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 | |
| 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 | |
| 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 | |
| bool | intersect (const Triangle3 &t) const |
| bool | contact (const Triangle3 &t, Contact &contact) const |
Protected Member Functions | |
| Segment3 | shortestSegmentBetween (const Segment3 &seg, Real &ds) const |
Protected Attributes | |
| Point3 | _p1 |
| Point3 | _p2 |
| Point3 | _p3 |
|
|
|
|
|
|
|
||||||||||||||||
|
Definition at line 45 of file Triangle3. References _p1, _p2, _p3, and base::Point3. |
|
|
|
|
|
Definition at line 70 of file Triangle3. References e(), and base::Point3. Referenced by gfx::TriangleDesc::operator[](). |
|
||||||||||||
|
|
|
|
Definition at line 136 of file Triangle3. References 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 shortestSegmentBetween(). |
|
|
shortest distance between triangle and p
Referenced by contains(). |
|
|
Definition at line 61 of file Triangle3. References _p1, _p2, _p3, and base::Point3. Referenced by at(), operator()(), and operator[](). |
|
|
Definition at line 95 of file Triangle3. References base::Vector3::equals(), p1(), p2(), and p3(). |
|
|
|
|
|
Definition at line 103 of file Triangle3. References base::Vector3::normalize(), p1(), p2(), and p3(). |
|
|
|
|
|
Definition at line 51 of file Triangle3. References e(), and base::Point3. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in gfx::TriangleDesc. Definition at line 50 of file Triangle3. References e(), and base::Point3. |
|
|
Definition at line 53 of file Triangle3. References _p1, and base::Point3. Referenced by equals(), normal(), operator+=(), operator-=(), gfx::operator<<(), operator==(), gfx::Plane::Plane(), and transform(). |
|
|
Definition at line 54 of file Triangle3. References _p2, and base::Point3. Referenced by equals(), normal(), operator+=(), operator-=(), gfx::operator<<(), operator==(), gfx::Plane::Plane(), and transform(). |
|
|
Definition at line 55 of file Triangle3. References _p3, and base::Point3. Referenced by equals(), normal(), operator+=(), operator-=(), gfx::operator<<(), operator==(), gfx::Plane::Plane(), and transform(). |
|
|
find point on triangle that is closest to p
|
|
|
Definition at line 56 of file Triangle3. References _p1, and base::Point3. Referenced by operator+=(), operator-=(), operator=(), and transform(). |
|
|
Definition at line 57 of file Triangle3. References _p2, and base::Point3. Referenced by operator+=(), operator-=(), operator=(), and transform(). |
|
|
Definition at line 58 of file Triangle3. References _p3, and base::Point3. Referenced by operator+=(), operator-=(), operator=(), and 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 distanceTo(). |
|
|
|
|
|
Definition at line 176 of file Triangle3. Referenced by e(), operator *=(), operator/=(), p1(), setp1(), and Triangle3(). |
|
|
Definition at line 176 of file Triangle3. Referenced by e(), operator *=(), operator/=(), p2(), setp2(), and Triangle3(). |
|
|
Definition at line 176 of file Triangle3. Referenced by e(), operator *=(), operator/=(), p3(), setp3(), and Triangle3(). |
1.3.6