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

csfl::IDPolygon Class Reference

#include <dpolygon.h>

Inheritance diagram for csfl::IDPolygon::

csfl::IDMultiPointLine csfl::ISFLObject csfl::ISimpleArrayOf csfl::ISimpleVectorOf List of all members.

Public Methods

 IDPolygon (const int &i=0, IDPoint *_p=NULL)
 IDPolygon (IDPolygon *_p)
int NumberofVertex () const
bool isPointInsidePolygon (const IDPoint &_p)

Detailed Description

Classe que representa um polígono.


Constructor & Destructor Documentation

csfl::IDPolygon::IDPolygon ( const int & i = 0,
IDPoint * _p = NULL ) [inline]
 

O argumento “i“ define o número de pontos e “_p“ é um vetor contendo os pontos que formam o polígono.

csfl::IDPolygon::IDPolygon ( IDPolygon * _p ) [inline]
 


Member Function Documentation

int csfl::IDPolygon::NumberofVertex ( ) const [inline]
 

Retorna o número de vértices do polígono.

bool csfl::IDPolygon::isPointInsidePolygon ( const IDPoint & _p )
 

Verifica se um dado ponto está contido no polígono.


The documentation for this class was generated from the following file:

 

CFD Project | Documents | Downloads | Contact us | Use Terms

 

© SINMEC/EMC/UFSC, 2001.

All rights reserved.

Last Update: Jan. 18, 2002

 Webmaster