PointCartesian Module

Module Contents

template<std::size_t Dimension>
class PointCartesian : public tracktable::PointBase<Dimension>

N-dimensional point in Cartesian space.

This specializes PointBase to exist in a Cartesian coordinate system and be usable with boost::geometry. You must still instantiate it explicitly with the number of dimensions.

Public Types

typedef PointBase<Dimension> Superclass

Convenient alias for the parent class.

Public Functions

PointCartesian()

Create an uninitialized point.

~PointCartesian()
PointCartesian(Superclass const &other)

Make this point into a copy of another.

PointCartesian(const double *coordinates)

Create a point with user-supplied coordinates.

std::string to_string() const
template<class Archive>
void serialize(Archive &ar, const unsigned int version)