Syntax
[VLN,DL,fi]=VLprojection([SG,VL,ez,cent])
Input Parameter
SG : | | SG.VL, SG.FL; solid or surface as projection plane |
VL : | | CPL,CVL or VL as vertex list to project |
ez : | | beam direction (cent=false) or beam origin (cent=true) |
cent : | | central (true) or parallel projection (false); default = false; |
Output Parameter
VLN : | | Projected vertex list |
DL : | | Distance list for each vertex |
fi : | | facet index list for each point |
Examples
Try central and parallel projection
SG=SGtransP(SGbox([80,80,5]),[0 0 40]); VL=VLaddz(CPLsample(12));
VLprojection(SG,VL,[0 0 1],false) % parallel projection
VLprojection(SG,VL,[0 0 -30],true) % central projection
Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21