|
libLAS API Reference (svn-trunk)
|
#include <bounds.hpp>


Public Types | |
| typedef T | value_type |
| typedef std::vector< Range< T > >::size_type | size_type |
| typedef std::vector< Range< T > > | RangeVec |
Public Member Functions | |
| Bounds () | |
| Bounds (Bounds const &other) | |
| Bounds (RangeVec const &rngs) | |
| Bounds (T minx, T miny, T minz, T maxx, T maxy, T maxz) | |
| Bounds (T minx, T miny, T maxx, T maxy) | |
| Bounds (const Point &min, const Point &max) | |
| T | min (std::size_t const &index) const |
| void | min (std::size_t const &index, T v) |
| T | max (std::size_t const &index) const |
| void | max (std::size_t const &index, T v) |
| T | minx () const |
| T | miny () const |
| T | minz () const |
| T | maxx () const |
| T | maxy () const |
| T | maxz () const |
| bool | operator== (Bounds< T > const &rhs) const |
| bool | operator!= (Bounds< T > const &rhs) const |
| Bounds< T > & | operator= (Bounds< T > const &rhs) |
| RangeVec const & | dims () const |
| The vector of Range<T> for the Bounds. | |
| size_type | dimension () const |
| The number of dimensions of the Bounds. | |
| void | dimension (size_type d) |
| Resize the dimensionality of the Bounds to d. | |
| bool | equal (Bounds< T > const &other) const |
| Is this Bounds equal to other? | |
| bool | intersects (Bounds const &other) const |
| Does this Bounds intersect other? | |
| bool | overlaps (Bounds const &other) const |
| Synonym for intersects for now. | |
| bool | contains (Bounds const &other) const |
| Does this Bounds contain other? | |
| bool | contains (Point const &point) const |
| Does this Bounds this point other? | |
| void | shift (std::vector< T > deltas) |
| Shift each dimension by a vector of detlas. | |
| void | scale (std::vector< T > deltas) |
| Scale each dimension by a vector of deltas. | |
| void | clip (Bounds const &r) |
| Clip this Bounds to the extent of r. | |
| void | grow (Bounds const &r) |
| Grow to the union of two liblas::Bounds. | |
| void | grow (Point const &p) |
| Expand the liblas::Bounds to include this point. | |
| T | volume () const |
| bool | empty () const |
| void | verify () |
| typedef std::vector< Range<T> > liblas::Bounds< T >::RangeVec |
| typedef std::vector<Range<T>>::size_type liblas::Bounds< T >::size_type |
| typedef T liblas::Bounds< T >::value_type |
|
inline |
Referenced by Bounds(), clip(), contains(), equal(), grow(), intersects(), operator!=(), operator=(), operator==(), and overlaps().

|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Clip this Bounds to the extent of r.
References Bounds(), dimension(), and dims().

|
inline |
Does this Bounds contain other?
References Bounds(), contains(), and dimension().
Referenced by contains(), and contains().


|
inline |
Does this Bounds this point other?
References contains(), liblas::Point::GetX(), liblas::Point::GetY(), and liblas::Point::GetZ().

|
inline |
|
inline |
Resize the dimensionality of the Bounds to d.
|
inline |
|
inline |
References dimension(), and empty().
Referenced by empty().


|
inline |
Is this Bounds equal to other?
References Bounds(), and dimension().
Referenced by operator!=(), and operator==().


|
inline |
Grow to the union of two liblas::Bounds.
References Bounds(), dimension(), and dims().

|
inline |
Expand the liblas::Bounds to include this point.
References liblas::Point::GetX(), liblas::Point::GetY(), and liblas::Point::GetZ().

|
inline |
Does this Bounds intersect other?
References Bounds(), dimension(), and overlaps().
Referenced by overlaps().


|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Synonym for intersects for now.
References Bounds(), and intersects().
Referenced by intersects().


|
inline |
Scale each dimension by a vector of deltas.
References dimension().

|
inline |
Shift each dimension by a vector of detlas.
References dimension().

|
inline |
|
inline |