project - project point, line or triangle clouds on a plane
project [-c FILE|--camera FILE] [-cx DOUBLE] [-cy DOUBLE] [-cz DOUBLE] [-px DOUBLE] [-py DOUBLE] [-pz DOUBLE] [-d INTEGER|--dimension INTEGER] [-pa|--parallel] [-a DOUBLE|--aperture DOUBLE] [-p INT|--precision INT] [-?|-h|--help]
project projects point, line or triangle clouds on a plane. The parameters of the projections may be specified in various ways. By default, the projection is central: c (cx cy cz) is the centre, p-c is the direction of projection and ||p-c|| the focal distance. If -pa option is selected, the projection is parallel and the direction is given by p-c. If a camera file is used (option -c), no other parameter is needed. if an angle aperture is given (option -a), points outside this angle will not be projected. It takes its input from the standard input and returns the result to the standard output.
for 'line clouds' with 2 points on each line
return a cloud in 2D (2) or 3D (3: default)
camera file
x coordinate of the centre of projection (default: 0)
y coordinate of the centre of projection (default: 0)
z coordinate of the centre of projection (default: 0)
x coordinate of the focus point (default: 0)
y coordinate of the focus point (default: 0)
z coordinate of the focus point (default: 1)
parallel projection (direction given by p-c)
limit the output to points inside cone of angle (in degree)
number of decimals (default: 6)
Returns the manual page
Written by Pierre Smars (first version: 2007)
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
Copyright (C) 2015 Pierre Smars. License GPLv2 <http://www.gnu.org/licenses/gpl-2.0.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
view_pt(1), view_li(1), view_tri(1)