GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
BoxVolume Class Reference

#include <VolumeObjects.hh>

Inheritance diagram for BoxVolume:
Collaboration diagram for BoxVolume:

Public Member Functions

 BoxVolume (float x1, float y1, float z1, float x2, float y2, float z2)
 BoxVolume (Vector top_left, Vector bottom_right)
bool Inside (Point p) const
Public Member Functions inherited from VolumeObject
bool EquRel (Point p1, Point p2)
virtual float Line (Point v, Point v2) const
virtual Color ColorValue (Point v) const
virtual float Value (Point v) const
virtual Vector Normal (Point v) const
virtual ~VolumeObject ()

Public Attributes

Vector tl
Vector br

Constructor & Destructor Documentation

◆ BoxVolume() [1/2]

BoxVolume::BoxVolume ( float x1,
float y1,
float z1,
float x2,
float y2,
float z2 )
inline

◆ BoxVolume() [2/2]

BoxVolume::BoxVolume ( Vector top_left,
Vector bottom_right )
inline

Member Function Documentation

◆ Inside()

bool BoxVolume::Inside ( Point p) const
inlinevirtual

Reimplemented from VolumeObject.

Member Data Documentation

◆ br

Vector BoxVolume::br

◆ tl

Vector BoxVolume::tl

The documentation for this class was generated from the following file: