|
Jpp
|
Data structure for polyline in three dimensions. More...
#include <JPolyline3D.hh>
Public Member Functions | |
| JPolyline3D () | |
| default constructor More... | |
| JPolyline3D (int size) | |
| Constructor with given size. More... | |
| const JPolyline3D & | getPolyline () const |
| Get polyline. More... | |
| JPolyline3D & | getPolyline () |
| Get polyline. More... | |
| JPolyline3D & | transform (const JMatrix3D &T) |
| Transform all vertices. More... | |
| JPolyline3D & | rotate (const JRotation3D &R) |
| Rotate all vertices. More... | |
| JPolyline3D & | rotate_back (const JRotation3D &R) |
| Rotate back all vertices. More... | |
| JPolyline3D & | rotate (const JRotation3X &R) |
| Rotate all vertices around X-axis. More... | |
| JPolyline3D & | rotate_back (const JRotation3X &R) |
| Rotate all vertices back around X-axis. More... | |
| JPolyline3D & | rotate (const JRotation3Y &R) |
| Rotate all vertices around Y-axis. More... | |
| JPolyline3D & | rotate_back (const JRotation3Y &R) |
| Rotate all vertices back around Y-axis. More... | |
| JPolyline3D & | rotate (const JRotation3Z &R) |
| Rotate all vertices around Z-axis. More... | |
| JPolyline3D & | rotate_back (const JRotation3Z &R) |
| Rotate all vertices back around Z-axis. More... | |
| void | transform (const JRotation3D &R, const JVector3D &pos) |
| Transform all vertices of the polyline with a rotation and offset. More... | |
| void | transform_back (const JRotation3D &R, const JVector3D &pos) |
| Transform back all vertices of the polyline. More... | |
Friends | |
| std::istream & | operator>> (std::istream &in, JPolyline3D &polyline) |
| Read polyline from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JPolyline3D &polyline) |
| Write polyline to output. More... | |
Data structure for polyline in three dimensions.
A polyline is a series of connected line segments.
Definition at line 25 of file JPolyline3D.hh.
|
inline |
|
inline |
Constructor with given size.
Definition at line 33 of file JPolyline3D.hh.
|
inline |
Get polyline.
Definition at line 43 of file JPolyline3D.hh.
|
inline |
Get polyline.
Definition at line 52 of file JPolyline3D.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Rotate all vertices around X-axis.
| R | rotation matrix |
Definition at line 93 of file JPolyline3D.hh.
|
inline |
Rotate all vertices back around X-axis.
| R | rotation matrix |
Definition at line 103 of file JPolyline3D.hh.
|
inline |
Rotate all vertices around Y-axis.
| R | rotation matrix |
Definition at line 114 of file JPolyline3D.hh.
|
inline |
Rotate all vertices back around Y-axis.
| R | rotation matrix |
Definition at line 125 of file JPolyline3D.hh.
|
inline |
Rotate all vertices around Z-axis.
| R | rotation matrix |
Definition at line 135 of file JPolyline3D.hh.
|
inline |
Rotate all vertices back around Z-axis.
| R | rotation matrix |
Definition at line 145 of file JPolyline3D.hh.
|
inline |
Transform all vertices of the polyline with a rotation and offset.
See the corresponding function in JPosition3D for more information
| R | rotation matrix |
| pos | position of origin (after rotation) |
Definition at line 157 of file JPolyline3D.hh.
|
inline |
Transform back all vertices of the polyline.
| R | rotation matrix |
| pos | polyline of origin (before rotation) |
Definition at line 167 of file JPolyline3D.hh.
|
friend |
Read polyline from input.
| in | input stream |
| polyline | polyline |
Definition at line 179 of file JPolyline3D.hh.
|
friend |
Write polyline to output.
| out | output stream |
| polyline | polyline |
Definition at line 196 of file JPolyline3D.hh.
1.8.5