Boost.Geometry    Boost C++ Libraries
Public Member Functions | Static Public Member Functions | List of all members
boost::geometry::de9im::matrix Class Reference

DE-9IM model intersection matrix. More...

Inheritance diagram for boost::geometry::de9im::matrix:

Public Member Functions

const_iterator begin () const
 Returns the iterator to the first element. More...
 
const char * data () const
 Returns raw pointer to elements. More...
 
const_iterator end () const
 Returns the iterator past the last element. More...
 
 matrix ()
 Initializes all of the matrix elements to F. More...
 
char operator[] (std::size_t index) const
 Subscript operator. More...
 
std::string str () const
 Returns std::string containing elements. More...
 

Static Public Member Functions

static std::size_t size ()
 Returns the number of elements. More...
 

Detailed Description

DE-9IM model intersection matrix.

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

Constructor & Destructor Documentation

boost::geometry::de9im::matrix::matrix ( )

Initializes all of the matrix elements to F.

Member Function Documentation

char boost::geometry::de9im::matrix::operator[] ( std::size_t  index) const

Subscript operator.

Parameters
indexThe index of the element
Returns
The element
const_iterator boost::geometry::de9im::matrix::begin ( ) const

Returns the iterator to the first element.

Returns
const RandomAccessIterator
const_iterator boost::geometry::de9im::matrix::end ( ) const

Returns the iterator past the last element.

Returns
const RandomAccessIterator
static std::size_t boost::geometry::de9im::matrix::size ( )
static

Returns the number of elements.

Returns
9
const char* boost::geometry::de9im::matrix::data ( ) const

Returns raw pointer to elements.

Returns
const pointer to array of elements
std::string boost::geometry::de9im::matrix::str ( ) const

Returns std::string containing elements.

Returns
string containing elements

April 2, 2011

Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands
Copyright © 2008-2011 Bruno Lalande, Paris, France
Copyright © 2009-2010 Mateusz Loskot, London, UK
Documentation is generated by Doxygen