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

  PUBLIC
PolopRanC::PolopRanC(PolopsC &,int)
PolopRanC::~PolopRanC(void)
PolopRanC::RandomPoints(int)
PolopRanC::RandomPt(int *)
PolopRanC::Save(int,char *)
PolopRanC
 
include "amma/PolopRan.hh"
User Level:Default
Library:PolExt
Example: poltool.cc
Section: 3D Surface.Polyhedral Extensions
In Scope:std

Comments:
------------------------------------------------------------------------- ********** PolopRanC **************************************************** ------------------------------------------------------------------------- ------------------------------------------------------------------------- ********** PolopRanC **************************************************** ------------------------------------------------------------------------- The random number generator is Random1. Seeding is done in the constructor

Variables:
Methods:
PolopRanC(PolopsC & inpol,int inidum)

~PolopRanC()
Destructor General operations ------------------

VectorSetC RandomPoints(int n)
returns n random positions on the surface

PolVecC RandomPt(int * face = NULL)
returns a point at a random position on the surface, and sets face to the index of the face on which the point lies

void Save(int n,char * fname)
save n random points to file .list


Programmer:Andrew Stoddart, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001