...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
DE-9IM model intersection matrix.
This matrix can be used to express spatial relations as defined in Dimensionally Extended 9-Intersection Model.
class de9im::matrix : public detail::relate::matrix< 3, 3 > { // ... };
Function |
Description |
Parameters |
---|---|---|
matrix()
|
Initializes all of the matrix elements to F. |
Function |
Description |
Parameters |
Returns |
---|---|---|---|
char operator[](std::size_t index)
|
Subscript operator. |
std::size_t: index: The index of the element |
The element |
const_iterator begin()
|
Returns the iterator to the first element. |
const RandomAccessIterator |
|
const_iterator end()
|
Returns the iterator past the last element. |
const RandomAccessIterator |
|
std::size_t size()
|
Returns the number of elements. |
9 |
|
const char * data()
|
Returns raw pointer to elements. |
const pointer to array of elements |
|
std::string str()
|
Returns std::string containing elements. |
string containing elements |
#include <boost/geometry/algorithms/detail/relate/de9im.hpp>