Public Member Functions | Private Member Functions | Private Attributes
swri_geometry_util::Polygon Class Reference

#include <polygon.h>

List of all members.

Public Member Functions

int GetNumVerticies ()
double GetXVerticie (int num)
double * GetXVerticies ()
double GetYVerticie (int num)
double * GetYVerticies ()
bool LineOverlapsPolygon (Vertex start, Vertex end)
Polygonoperator= (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

Detailed Description

Definition at line 56 of file polygon.h.


Constructor & Destructor Documentation

Definition at line 35 of file polygon.cpp.

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.


Member Function Documentation

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.

Definition at line 190 of file polygon.cpp.

Definition at line 178 of file polygon.cpp.

Definition at line 196 of file polygon.cpp.

Definition at line 184 of file polygon.cpp.

Definition at line 111 of file polygon.cpp.

Polygon & swri_geometry_util::Polygon::operator= ( const Polygon other)

Definition at line 55 of file polygon.cpp.

Definition at line 95 of file polygon.cpp.


Member Data Documentation

Definition at line 87 of file polygon.h.

Definition at line 86 of file polygon.h.


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


swri_geometry_util
Author(s): Marc Alban
autogenerated on Thu Jun 6 2019 20:34:40