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. More... | |
size_type | dimension () const |
The number of dimensions of the Bounds. More... | |
void | dimension (size_type d) |
Resize the dimensionality of the Bounds to d. More... | |
bool | equal (Bounds< T > const &other) const |
Is this Bounds equal to other? More... | |
bool | intersects (Bounds const &other) const |
Does this Bounds intersect other? More... | |
bool | overlaps (Bounds const &other) const |
Synonym for intersects for now. More... | |
bool | contains (Bounds const &other) const |
Does this Bounds contain other? More... | |
bool | contains (Point const &point) const |
Does this Bounds this point other? More... | |
void | shift (std::vector< T > deltas) |
Shift each dimension by a vector of detlas. More... | |
void | scale (std::vector< T > deltas) |
Scale each dimension by a vector of deltas. More... | |
void | clip (Bounds const &r) |
Clip this Bounds to the extent of r. More... | |
void | grow (Bounds const &r) |
Grow to the union of two liblas::Bounds. More... | |
void | grow (Point const &p) |
Expand the liblas::Bounds to include this point. More... | |
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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Clip this Bounds to the extent of r.
|
inline |
Does this Bounds contain other?
Referenced by liblas::Bounds< double >::contains().
|
inline |
Does this Bounds this point other?
|
inline |
The number of dimensions of the Bounds.
Referenced by liblas::Bounds< double >::clip(), liblas::Bounds< double >::contains(), liblas::Bounds< double >::empty(), liblas::Bounds< double >::equal(), liblas::Bounds< double >::grow(), liblas::Bounds< double >::intersects(), liblas::Bounds< double >::scale(), liblas::Bounds< double >::shift(), liblas::Bounds< double >::verify(), and liblas::Bounds< double >::volume().
|
inline |
Resize the dimensionality of the Bounds to d.
|
inline |
The vector of Range<T> for the Bounds.
Referenced by liblas::Bounds< double >::clip(), and liblas::Bounds< double >::grow().
|
inline |
|
inline |
Is this Bounds equal to other?
Referenced by liblas::Bounds< double >::operator!=(), and liblas::Bounds< double >::operator==().
|
inline |
Grow to the union of two liblas::Bounds.
|
inline |
Expand the liblas::Bounds to include this point.
|
inline |
Does this Bounds intersect other?
Referenced by liblas::Bounds< double >::overlaps().
|
inline |
Referenced by liblas::IndexData::GetMaxFilterX(), liblas::IndexData::GetMaxFilterY(), liblas::IndexData::GetMaxFilterZ(), liblas::Index::GetMaxX(), liblas::Index::GetMaxY(), liblas::Index::GetMaxZ(), liblas::Index::SetMaxX(), liblas::Index::SetMaxY(), liblas::Index::SetMaxZ(), and liblas::Bounds< double >::verify().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by liblas::IndexData::GetMinFilterX(), liblas::IndexData::GetMinFilterY(), liblas::IndexData::GetMinFilterZ(), liblas::Index::GetMinX(), liblas::Index::GetMinY(), liblas::Index::GetMinZ(), liblas::Index::SetMinX(), liblas::Index::SetMinY(), liblas::Index::SetMinZ(), and liblas::Bounds< double >::verify().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Synonym for intersects for now.
Referenced by liblas::Bounds< double >::intersects().
|
inline |
Scale each dimension by a vector of deltas.
|
inline |
Shift each dimension by a vector of detlas.
|
inline |
|
inline |