
Public Member Functions | |
| Disc3 () | |
| Disc3 (const Point3 &origin, const Vector3 &normal, Real radius) | |
| Disc3 (const Disc3 &d) | |
| ~Disc3 () | |
| Disc3 & | operator= (const Disc3 &d) |
| bool | operator== (const Disc3 &d) const |
| bool | operator!= (const Disc3 &d) const |
| bool | equals (const Disc3 &d, Real epsilon=consts::epsilon) const |
| Real | distanceTo (const Point3 &p) const |
| shortest distance between disc and p | |
| Point3 | pointClosestTo (const Point3 &p) const |
| find point on the disc that is closest to p | |
| bool | contains (const Point3 &p) const |
| is point p on the disc? | |
| Segment3 | shortestSegmentBetween (const Segment3 &s) const |
| return shortest segment between this disc and segment s | |
Public Attributes | |
| Point3 | o |
| origin | |
| Vector3 | n |
| normal | |
| Real | r |
| radius | |
|
|
Definition at line 43 of file Disc3. References n. |
|
||||||||||||||||
|
Definition at line 45 of file Disc3. References n, base::Vector3::normalize(), o, and base::Point3. |
|
|
|
|
|
|
|
|
is point p on the disc?
Definition at line 90 of file Disc3. References distanceTo(), and base::Point3. |
|
|
shortest distance between disc and p
Definition at line 80 of file Disc3. References base::Point3, and pointClosestTo(). Referenced by contains(). |
|
||||||||||||
|
Definition at line 73 of file Disc3. References base::Vector3::equals(), n, o, and r. |
|
|
|
|
|
Definition at line 51 of file Disc3. References n, base::Vector3::normalize(), o, and r. |
|
|
|
|
|
find point on the disc that is closest to p
Referenced by distanceTo(). |
|
|
return shortest segment between this disc and segment s
|
|
|
normal
Definition at line 101 of file Disc3. Referenced by Disc3(), equals(), operator!=(), gfx::operator<<(), operator=(), and operator==(). |
|
|
origin
Definition at line 100 of file Disc3. Referenced by Disc3(), equals(), operator!=(), gfx::operator<<(), operator=(), and operator==(). |
|
|
radius
Definition at line 102 of file Disc3. Referenced by equals(), operator!=(), gfx::operator<<(), operator=(), and operator==(). |
1.3.6