DGtal
0.6.devel
|
#include <Modifier.h>
Public Types | |
typedef PointVector < 3, Coordinate > | Input |
typedef PointVector < 2, Coordinate > | Output |
Public Member Functions | |
Output | get (const Input &p) const |
Aim: transforms a 3d point into a 2d point due to a projection on the xz-plane.
Description of template class 'Point3dTo2dXZ'
Coordinate | the type for the coordinates of the points PointVector<3,int> a3dPoint;
PointVector<2,int> a2dPoint;
Point3dTo2dXZ<int> m;
...
a2dPoint = m.get(a3dPoint);
|
Definition at line 115 of file Modifier.h.
typedef PointVector<3,Coordinate> DGtal::deprecated::Point3dTo2dXZ< Coordinate >::Input |
Definition at line 120 of file Modifier.h.
typedef PointVector<2,Coordinate> DGtal::deprecated::Point3dTo2dXZ< Coordinate >::Output |
Definition at line 121 of file Modifier.h.
|
inline |
Get a 2d point from a 3d point
p | a 3d point |
Definition at line 130 of file Modifier.h.
References DGtal::PointVector< dim, TEuclideanRing >::at().