| Home | Libraries | People | FAQ | More

#### de9im::matrix

DE-9IM model intersection matrix.

###### Description

This matrix can be used to express spatial relations as defined in Dimensionally Extended 9-Intersection Model.

###### Synopsis

    class de9im::matrix
          : public detail::relate::matrix< 3, 3 >
    {
      // ...
    };

###### Constructor(s)

Function | Description | Parameters
--- | --- | ---

    matrix()

Initializes all of the matrix elements to F.

###### Member Function(s)

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

###### Header

`#include <boost/geometry/algorithms/detail/relate/de9im.hpp>`

###### See also

- relation