#include <trianglepatch.h>
Inheritance diagram for TrianglePatch:

Public Member Functions | |
| TrianglePatch (Vector3 *edge1, Vector3 *edge2, Vector3 *edge3) | |
| SurfacePatch3D * | duplicate () const |
| bool | hasFinitBounding () const |
| Vector3 | getBoundingMin () const |
| Vector3 | getBoundingMax () const |
| DBL | intersectBounding (const Ray &r) const |
| DBL | intersectBounding (const Ray &r, DBL tmax) const |
| Intersection * | intersectLimitedTime (const Ray &r, DBL maxtime) const |
|
||||||||||||||||
|
Creates triangle that can share its vertices with others. |
|
|
Create a duplicate of the object. Must be of the same type!
Implements SurfacePatch3D.
|
|
|
Get bounding dimension (maximum edge). Implements SurfacePatch3D.
|
|
|
Get bounding dimension (minimum edge). Implements SurfacePatch3D.
|
|
|
Returns true if the surface can be enclosed by a finit box. Implements SurfacePatch3D.
|
|
||||||||||||
|
Intersect Bounding with Ray limited to maximum time.
Implements SurfacePatch3D.
|
|
|
Intersect Bounding with Ray.
Implements SurfacePatch3D.
|
|
||||||||||||
|
Intersect object with ray limited to maximum time.
Implements SurfacePatch3D.
|
1.3.8