coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

Plane Class Reference

Plane is a infinite non-solid object which is described by its normal vector and the distance from the the origin. More...

#include <Plane.h>

Inheritance diagram for Plane

Inheritance graph
[legend]
Collaboration diagram for Plane:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { PROPERTY_NORMAL = 0x0300, PROPERTY_DISTANCE = 0x0301 }

Public Methods

 DECLARE_CLASS (Plane,Primitive)
 Plane ()
virtual ~Plane ()
virtual void setProperty (int nProperty,const Variant &value)
virtual void getProperty (int nProperty,Variant &vValue)const
virtual bool intersect (Ray *ray,IntersectionList *intersectionList)
virtual Vector3 getNormalVector (Intersection *intersection)

Public Attributes

double distance
Vector3 normal

Detailed Description

Plane is a infinite non-solid object which is described by its normal vector and the distance from the the origin.


The documentation for this class was generated from the following file:
  • Plane.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: