|
SLIP
1.4
|
This is a point1d class, a specialized version of Point<CoordType,DIM> with DIM = 1. More...
#include <Point1d.hpp>

Public Types | |
| typedef Point1d< CoordType > | self |
| typedef Point< CoordType, 1 > | base |
| typedef CoordType | value_type |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef DPoint< CoordType, DIM > | dpoint_type |
| typedef std::random_access_iterator_tag | iterator_category |
Public Member Functions | |
| std::string | name () const |
| Returns the name of the class. More... | |
| self | operator- () const |
| negate all the coordinates of a Point More... | |
| std::size_t | dim () const |
| Returns the dimension of the Point. More... | |
| std::size_t | size () const |
| Returns the dimension of the Point. More... | |
| std::size_t | max_size () const |
| Returns the maximal size of the Point. More... | |
| bool | empty () const |
| Returns true if dimension of the Point is 0. More... | |
| const block< value_type, DIM > & | coord () const |
| Return the coordinates of the Point. More... | |
| block< value_type, DIM > & | coord () |
| Return the coordinates of the Point. More... | |
| void | swap (self &other) |
| Swaps two Point. More... | |
Constructors & Destructors | |
| Point1d () | |
| Constructs a Point1d. More... | |
| Point1d (const CoordType &x1) | |
| Constructs a Point1d. More... | |
Element access operators | |
| void | x1 (const CoordType &x) |
| Accessor of the first coordinate of Point1d. More... | |
| CoordType & | x1 () |
| Accessor/Mutator of the first coordinate of Point1d. More... | |
| const CoordType & | x1 () const |
| Accessor/Mutator of the first coordinate of Point1d. More... | |
Element access operators | |
| reference | operator[] (const std::size_t i) |
| Returns the i'th coordinate of the Point. More... | |
| const_reference | operator[] (const std::size_t i) const |
| Returns the i'th row of the Point. More... | |
Comparison operators | |
| bool | operator== (const self &other) const |
| compare two Point. More... | |
| bool | operator!= (const self &other) const |
| compare two Point. More... | |
Arithmetic operators | |
| self | operator- (const dpoint_type &dp) const |
| translate a point considering the deplacement a dp More... | |
| dpoint_type | operator- (const self &other) const |
| compute the difference between two points More... | |
| self & | operator+= (const dpoint_type &dp) |
| Assign a Point to this point plus a deplacement. More... | |
| self | operator+ (const dpoint_type &dp) const |
| translate a point considering the deplacement a dp More... | |
| self & | operator-= (const dpoint_type &dp) |
| Assign a Point to this point minus a deplacement. More... | |
Static Public Attributes | |
| static const std::size_t | SIZE |
Protected Attributes | |
| block< value_type, DIM > | coord_ |
| The coordinates of the point are stored in this block. More... | |
Friends | |
| class | boost::serialization::access |
This is a point1d class, a specialized version of Point<CoordType,DIM> with DIM = 1.
| CoordType | Type of the coordinates of the Point1d |
Definition at line 101 of file Point1d.hpp.
| typedef Point<CoordType,1> slip::Point1d< CoordType >::base |
Definition at line 105 of file Point1d.hpp.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| typedef Point1d<CoordType> slip::Point1d< CoordType >::self |
Definition at line 104 of file Point1d.hpp.
|
inherited |
|
inline |
Constructs a Point1d.
Definition at line 195 of file Point1d.hpp.
|
inline |
Constructs a Point1d.
| x1 | first coordinate of the Point1d |
Definition at line 202 of file Point1d.hpp.
|
inherited |
Return the coordinates of the Point.
|
inherited |
Return the coordinates of the Point.
|
inherited |
Returns the dimension of the Point.
|
inherited |
Returns true if dimension of the Point is 0.
|
inherited |
Returns the maximal size of the Point.
|
inline |
Returns the name of the class.
Definition at line 222 of file Point1d.hpp.
|
inherited |
compare two Point.
| other | Point to compare |
|
inherited |
translate a point considering the deplacement a dp
| dp | deplacement |
|
inherited |
Assign a Point to this point plus a deplacement.
| dp | deplacement |
|
inherited |
negate all the coordinates of a Point
|
inherited |
translate a point considering the deplacement a dp
| dp | deplacement |
|
inherited |
compute the difference between two points
| other | Point |
|
inherited |
Assign a Point to this point minus a deplacement.
| dp | deplacement |
|
inherited |
compare two Point.
| other | Point to compare |
|
inherited |
Returns the i'th coordinate of the Point.
| i | index of the coordinate to return |
|
inherited |
Returns the i'th row of the Point.
| i | index of the coordinate to return |
|
inherited |
Returns the dimension of the Point.
|
inherited |
Swaps two Point.
| other | Point to swap with |
|
inline |
Accessor of the first coordinate of Point1d.
| x | the first coordinate of the Point1d |
Definition at line 217 of file Point1d.hpp.
|
inline |
Accessor/Mutator of the first coordinate of Point1d.
Definition at line 209 of file Point1d.hpp.
|
inline |
Accessor/Mutator of the first coordinate of Point1d.
Definition at line 213 of file Point1d.hpp.
|
friend |
Definition at line 154 of file Point1d.hpp.
|
protectedinherited |
|
staticinherited |
1.8.6