Diffpack Documentation

(Functionality not available, requires installation of an additional Diffpack Toolbox)


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

Disks.h

Go to the documentation of this file.
00001 
00005 class Disks
00006 
00007 {
00008   VecSimple(Ptv(real)) center;  
00009   VecSimple(real) radius;       
00010 public:
00011   Disks () {}
00012  ~Disks () {}
00013 
00014   void scan (const String& init_str);
00015   void setDisks (const VecSimple(Ptv(real))& centers, real radius);
00016   void addDisks (const VecSimple(Ptv(real))& centers, real radius);
00017 
00018   bool isInside (const Ptv(real)& pt, int& disk_no) const;
00019   real minDistance (const Ptv(real)& pt, int& disk_no) const;
00020   void print (Os os, int disk_no);
00021   void print (Os os);  
00022 };
00023 
00024 

Copyright © 2003 inuTech GmbH. All rights reserved.