Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
TriNearestT
 
include "amma/IndTri.hh"
User Level:Default
Library:Polops
Example: poltool.cc
Section: 3D Surface.Polyhedral Representation
In Scope:std

Comments:
----------------------------------------------------------------------------- ********************************* IndTriC *********************************** ----------------------------------------------------------------------------- Synopsis : To determine the nearest point on a triangle. ----------------------------------------------------------------------------- Authors : Simon Cunnington : Andrew Stoddart Current Details : $RCSfile: IndTri.hh,v $ $Revision: 1.9 $ $Author: ees1cg $ modified this file on $Date: 2000/02/16 14:13:09 $ Copyright (C) 1997-1998 University of Surrey, UK. All Rights Reserved. The copyright to the computer program(s) herein is the property of the University of Surrey, UK. The program(s) may be used and/or copied only with the written permission of the Univerisity of Surrey or in accordance with the terms and conditions stipulated in the agreement/contract under which the program(s) have been supplied. This copyright notice must not be removed. ----------------------------------------------------------------------------// ----------------------------------------------------------------------------//

Variables:
double distance;
Distance from the point specified to the nearest point

Vector3dC nearest;
Nearest point on triangle

Vector3dC normal;
normal of triangle

Programmer: Simon Cunnington and Andrew Stoddart , Documentation by CxxDoc: Tue Mar 20 10:49:27 2001