se_core::BoundingCylinder Class Reference

#include <BoundingCylinder.hpp>

List of all members.

Public Member Functions

 BoundingCylinder ()
 BoundingCylinder (const Point3 &p, coor_t radius)
 BoundingCylinder (const Point3 &p, coor_t radius, coor_t height)
 BoundingCylinder (const Point3 &p, const BoundingCylinder &b)
 BoundingCylinder (const Point3 &p, const BoundingBox &b)
void reset ()
bool isNull () const
bool hasInside (coor_t x, coor_t y, coor_t z) const
bool hasInside (const Point3 &p) const
bool isTouching (const Point3 &p) const
bool hasInside (const Point3 &offset, const Point3 &p) const
void center (Point3 &out) const
bool isTouching (const BoundingCylinder &b) const
bool isTouching (const BoundingBox &b) const
coor_t radius () const

Public Attributes

coor_t centerX_
coor_t centerZ_
coor_t minY_
coor_t maxY_
coor_t radius_


Constructor & Destructor Documentation

se_core::BoundingCylinder::BoundingCylinder  )  [inline]
 

Definition at line 34 of file BoundingCylinder.hpp.

se_core::BoundingCylinder::BoundingCylinder const Point3 p,
coor_t  radius
[inline]
 

Definition at line 36 of file BoundingCylinder.hpp.

se_core::BoundingCylinder::BoundingCylinder const Point3 p,
coor_t  radius,
coor_t  height
[inline]
 

Definition at line 42 of file BoundingCylinder.hpp.

se_core::BoundingCylinder::BoundingCylinder const Point3 p,
const BoundingCylinder b
[inline]
 

Definition at line 48 of file BoundingCylinder.hpp.

se_core::BoundingCylinder::BoundingCylinder const Point3 p,
const BoundingBox b
 

Definition at line 48 of file BoundingCylinder.cpp.


Member Function Documentation

void se_core::BoundingCylinder::center Point3 out  )  const [inline]
 

Definition at line 123 of file BoundingCylinder.hpp.

References se_core::Tuple3::x_, se_core::Tuple3::y_, and se_core::Tuple3::z_.

bool se_core::BoundingCylinder::hasInside const Point3 offset,
const Point3 p
const [inline]
 

Definition at line 108 of file BoundingCylinder.hpp.

References coor_t, se_core::Tuple3::x_, se_core::Tuple3::y_, and se_core::Tuple3::z_.

bool se_core::BoundingCylinder::hasInside const Point3 p  )  const [inline]
 

Definition at line 81 of file BoundingCylinder.hpp.

References coor_t, se_core::Tuple3::x_, se_core::Tuple3::y_, and se_core::Tuple3::z_.

bool se_core::BoundingCylinder::hasInside coor_t  x,
coor_t  y,
coor_t  z
const [inline]
 

Definition at line 67 of file BoundingCylinder.hpp.

References coor_t.

bool se_core::BoundingCylinder::isNull  )  const [inline]
 

Definition at line 62 of file BoundingCylinder.hpp.

bool se_core::BoundingCylinder::isTouching const BoundingBox b  )  const
 

Definition at line 29 of file BoundingCylinder.cpp.

References se_core::BoundingBox::maxX_, se_core::BoundingBox::maxY_, se_core::BoundingBox::maxZ_, se_core::BoundingBox::minX_, se_core::BoundingBox::minY_, and se_core::BoundingBox::minZ_.

bool se_core::BoundingCylinder::isTouching const BoundingCylinder b  )  const [inline]
 

Definition at line 130 of file BoundingCylinder.hpp.

References centerX_, centerZ_, coor_t, maxY_, minY_, and radius_.

bool se_core::BoundingCylinder::isTouching const Point3 p  )  const [inline]
 

Definition at line 94 of file BoundingCylinder.hpp.

References coor_t, se_core::Tuple3::x_, se_core::Tuple3::y_, and se_core::Tuple3::z_.

coor_t se_core::BoundingCylinder::radius  )  const [inline]
 

Definition at line 149 of file BoundingCylinder.hpp.

References coor_t.

void se_core::BoundingCylinder::reset  )  [inline]
 

Definition at line 56 of file BoundingCylinder.hpp.


Member Data Documentation

coor_t se_core::BoundingCylinder::centerX_
 

Definition at line 153 of file BoundingCylinder.hpp.

Referenced by isTouching(), and se_core::operator<<().

coor_t se_core::BoundingCylinder::centerZ_
 

Definition at line 153 of file BoundingCylinder.hpp.

Referenced by isTouching(), and se_core::operator<<().

coor_t se_core::BoundingCylinder::maxY_
 

Definition at line 154 of file BoundingCylinder.hpp.

Referenced by isTouching(), and se_core::operator<<().

coor_t se_core::BoundingCylinder::minY_
 

Definition at line 154 of file BoundingCylinder.hpp.

Referenced by isTouching(), and se_core::operator<<().

coor_t se_core::BoundingCylinder::radius_
 

Definition at line 155 of file BoundingCylinder.hpp.

Referenced by isTouching(), and se_core::operator<<().


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:30 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo