Main Page | Class Hierarchy | Class List | File List | Class Members

Plane Class Reference

#include <plane.h>

Inheritance diagram for Plane:

Object3D SurfacePatch3D TransparentTransformatable Transformatable List of all members.

Public Member Functions

 Plane (const Vector3 &n)
Object3Dduplicate () const
IntersectionintersectLocal (const Ray &r) const
IntersectionintersectLocalLimitedTime (const Ray &r, DBL maxtime) const
bool isInsideAt (const Vector3 &locallocation) const

Detailed Description

Plane object.
Author:
Micha Riser


Constructor & Destructor Documentation

Plane::Plane const Vector3 n  )  [inline]
 

Construct new plane through origin.

Parameters:
n normal vector


Member Function Documentation

Object3D* Plane::duplicate  )  const [inline, virtual]
 

Create a duplicate of the object. Must be of the same type!

Returns:
An exact duplicate of the object.

Implements SurfacePatch3D.

bool Plane::isInsideAt const Vector3 locallocation  )  const [virtual]
 

Test point for insideness.

Parameters:
locallocation point in object space to test
Returns:
true if point is inside the object else false

Implements Object3D.


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 12:16:07 2005 for raytracer.kdevelop by doxygen 1.3.8