#include <Polygon.hpp>
Private Attributes |
| double ** | vertex |
| unsigned int | nPoints |
| | number of unique points
|
Constructor & Destructor Documentation
| Polygon::Polygon |
( |
double |
coord[][2], |
|
|
unsigned int |
m |
|
) |
| |
Assume that the first point is connected with the last point to complete the polygon.
| Polygon::Polygon |
( |
const Polygon & |
poly | ) |
|
Member Function Documentation
| Shape * Polygon::clone |
( |
| ) |
const |
|
virtual |
| std::vector< std::vector< unsigned > > Polygon::getCoordinateIndex |
( |
const Grid & |
grid | ) |
const |
|
virtual |
| double Polygon::getLargestLength |
( |
| ) |
const |
|
virtual |
Get the [min(y) min(z)] corner of the rectangle.
- Returns
- the cartesian coordinate the conner.
Implements Shape.
| unsigned Polygon::getType |
( |
| ) |
const |
|
virtual |
Get the [max(y) max(z)] corner of the rectangle.
- Returns
- the cartesian coordinate the conner.
Implements Shape.
| double Polygon::getXLength |
( |
| ) |
const |
|
virtual |
| double Polygon::getYLength |
( |
| ) |
const |
|
virtual |
| double Polygon::getZLength |
( |
| ) |
const |
|
virtual |
| bool Polygon::insert |
( |
double |
a[2] | ) |
|
Overload the assignment operator.
Member Data Documentation
| unsigned int Polygon::nPoints |
|
private |
The documentation for this class was generated from the following files: