#include <polygon.h>
Public Member Functions | |
| int | GetNumVerticies () |
| double | GetXVerticie (int num) |
| double * | GetXVerticies () |
| double | GetYVerticie (int num) |
| double * | GetYVerticies () |
| bool | LineOverlapsPolygon (Vertex start, Vertex end) |
| Polygon & | operator= (const Polygon &other) |
| Polygon () | |
| Polygon (const Polygon &other) | |
| Polygon (double Xs[], double Ys[], int numVertx) | |
| bool | VertexInPolygon (Vertex vertex) |
| ~Polygon () | |
Private Member Functions | |
| Vertex | FindLineIntersectLine (Vertex start1, Vertex end1, Vertex start2, Vertex end2) |
Private Attributes | |
| int | _nvert |
| PolygonD | _shape |
Definition at line 35 of file polygon.cpp.
| swri_geometry_util::Polygon::Polygon | ( | const Polygon & | other | ) |
Definition at line 42 of file polygon.cpp.
| swri_geometry_util::Polygon::Polygon | ( | double | Xs[], |
| double | Ys[], | ||
| int | numVertx | ||
| ) |
Definition at line 80 of file polygon.cpp.
Definition at line 207 of file polygon.cpp.
| Vertex swri_geometry_util::Polygon::FindLineIntersectLine | ( | Vertex | start1, |
| Vertex | end1, | ||
| Vertex | start2, | ||
| Vertex | end2 | ||
| ) | [private] |
Definition at line 142 of file polygon.cpp.
Definition at line 201 of file polygon.cpp.
| double swri_geometry_util::Polygon::GetXVerticie | ( | int | num | ) |
Definition at line 190 of file polygon.cpp.
| double * swri_geometry_util::Polygon::GetXVerticies | ( | ) |
Definition at line 178 of file polygon.cpp.
| double swri_geometry_util::Polygon::GetYVerticie | ( | int | num | ) |
Definition at line 196 of file polygon.cpp.
| double * swri_geometry_util::Polygon::GetYVerticies | ( | ) |
Definition at line 184 of file polygon.cpp.
| bool swri_geometry_util::Polygon::LineOverlapsPolygon | ( | Vertex | start, |
| Vertex | end | ||
| ) |
Definition at line 111 of file polygon.cpp.
Definition at line 55 of file polygon.cpp.
| bool swri_geometry_util::Polygon::VertexInPolygon | ( | Vertex | vertex | ) |
Definition at line 95 of file polygon.cpp.
int swri_geometry_util::Polygon::_nvert [private] |
PolygonD swri_geometry_util::Polygon::_shape [private] |