libjbt

plane.h

This is the verbatim text of the plane.h include file.

#ifndef jbt_plane_h
#define jbt_plane_h

#include "primitive.h"


class jbt_plane : public jbt_primitive
{
public:
    

    jbt_plane( jFlt R = 1 );

    jbt_blobtree::Type type() const { return jbt_blobtree::jbtPlane; }

private:
    
    jVec3 displacement();

//     void normal( jNorm3& N )
//         { N = jNorm3(0,1,0); }

    void bracket( const jRay&, jbt_brackets& );

    void computeBound();

    jVec2 uvl( const jVec3& );

    void seedPoints( jVec3list& ) const;
};


#endif

JSP / libjbt v0.1 mtigges@cpsc.ucalgary.ca