The base template class of point, which covers the basic functionality of each point.
More...
|
| PointBase () |
| Default constructor. More...
|
|
| PointBase (const boost::geometry::model::point< T, D, boost::geometry::cs::cartesian > &other) |
| Create from boost geometry point. More...
|
|
template<typename DerivedMatrix > |
| PointBase (const Eigen::MatrixBase< DerivedMatrix > &other) |
| Create from Eigen matrix expression. More...
|
|
template<typename DerivedMatrix > |
Derived & | operator= (const Eigen::MatrixBase< DerivedMatrix > &other) |
| assignment of Eigen matrix expression More...
|
|
Derived & | operator= (const boost::geometry::model::point< T, D, boost::geometry::cs::cartesian > &other) |
| converts from native boost::geometry::model::point More...
|
|
| operator boost::geometry::model::point< T, D, boost::geometry::cs::cartesian > () const |
| converts to native boost::geometry::point More...
|
|
const Base & | base () const |
|
Base & | base () |
|
const Scalar & | coeff (int index) const |
|
const Scalar & | coeff (int row, int col) const |
|
Scalar & | coeffRef (int index) |
|
Scalar & | coeffRef (int row, int col) |
|
int | cols () const |
|
Scalar * | data () |
|
const Scalar * | data () const |
|
PacketScalar | packet (int index) const |
|
PacketScalar | packet (int row, int col) const |
|
void | resize (int size) |
|
void | resize (int rows, int cols) |
|
int | rows () const |
|
Matrix & | setConstant (int rows, int cols, const Scalar &value) |
|
Matrix & | setConstant (int size, const Scalar &value) |
|
Matrix & | setIdentity (int rows, int cols) |
|
Matrix & | setOnes (int rows, int cols) |
|
Matrix & | setOnes (int size) |
|
Matrix & | setRandom (int rows, int cols) |
|
Matrix & | setRandom (int size) |
|
Matrix & | setZero (int rows, int cols) |
|
Matrix & | setZero (int size) |
|
int | stride (void) const |
|
void | swap (const MatrixBase< OtherDerived > &other) |
|
void | writePacket (int index, const PacketScalar &x) |
|
void | writePacket (int row, int col, const PacketScalar &x) |
|
|
static UnalignedMapType | Map (Scalar *data, int rows, int cols) |
|
static const UnalignedMapType | Map (const Scalar *data, int rows, int cols) |
|
static UnalignedMapType | Map (Scalar *data, int size) |
|
static const UnalignedMapType | Map (const Scalar *data, int size) |
|
static UnalignedMapType | Map (Scalar *data) |
|
static const UnalignedMapType | Map (const Scalar *data) |
|
static AlignedMapType | MapAligned (Scalar *data, int rows, int cols) |
|
static const AlignedMapType | MapAligned (const Scalar *data, int rows, int cols) |
|
static AlignedMapType | MapAligned (Scalar *data, int size) |
|
static const AlignedMapType | MapAligned (const Scalar *data, int size) |
|
static AlignedMapType | MapAligned (Scalar *data) |
|
static const AlignedMapType | MapAligned (const Scalar *data) |
|
template<typename T, int D, typename Derived>
class mira::PointBase< T, D, Derived >
The base template class of point, which covers the basic functionality of each point.
Basic functionality is type conversion, some constructors and operators. This class is a template which covers three parameters. The first parameter T gives the data type of the point, the second D gives the number of dimensions and the last parameter Derived represents the class which is derived from PointBase. Normally this class is for internal use only and the specialized point types should be sufficient. Anyway, it is not forbidden to use this template...