Specialization of the main n-cell class for vertices. Does not need to do any recursive inheritance here. More...
#include <element.hpp>
Public Types | |
typedef ConfigType | config_type |
typedef point_tag | tag |
typedef result_of::element_id_handler < ConfigType, point_tag > ::type::id_type | id_type |
Public Member Functions | |
element_t () | |
element_t (PointType const &p, long id=-1) | |
element_t (const element_t &e2) | |
~element_t () | |
element_t & | operator= (const element_t &other) |
PointType & | point () |
Provide access to the geometrical point object defining the location of the vertex in space. | |
PointType const & | point () const |
Provide access to the geometrical point object defining the location of the vertex in space. const-version. | |
CoordType & | operator[] (std::size_t i) |
Convenience access to the coordinates of the point. | |
CoordType const & | operator[] (std::size_t i) const |
Convenience access to the coordinates of the point. const-version. | |
std::size_t | size () const |
Convenience forward for obtaining the geometrical dimension of the underlying Euclidian space. | |
bool | operator< (const element_t e2) const |
Convenience less-than comparison function, forwarding to the point. | |
bool | operator> (const element_t e2) const |
Convenience greater-than comparison function, forwarding to the point. |
Specialization of the main n-cell class for vertices. Does not need to do any recursive inheritance here.
typedef ConfigType config_type |
typedef result_of::element_id_handler<ConfigType, point_tag>::type::id_type id_type |
Reimplemented from integral_id.
element_t | ( | ) | [inline] |
~element_t | ( | ) | [inline] |
Convenience less-than comparison function, forwarding to the point.
Convenience greater-than comparison function, forwarding to the point.
CoordType& operator[] | ( | std::size_t | i | ) | [inline] |
Convenience access to the coordinates of the point.
CoordType const& operator[] | ( | std::size_t | i | ) | const [inline] |
Convenience access to the coordinates of the point. const-version.
PointType const& point | ( | ) | const [inline] |
Provide access to the geometrical point object defining the location of the vertex in space. const-version.
PointType& point | ( | ) | [inline] |
Provide access to the geometrical point object defining the location of the vertex in space.
std::size_t size | ( | ) | const [inline] |
Convenience forward for obtaining the geometrical dimension of the underlying Euclidian space.