ConvexPolygon Class Reference

Public Member Functions

 ConvexPolygon (const std::vector< Point > &coords)
 
size_t numPoints () const
 
Point operator[] (size_t i) const
 
bool inside (Point point) const
 

Detailed Description

Definition at line 54 of file PolyWorld.h.

Constructor & Destructor Documentation

◆ ConvexPolygon()

ConvexPolygon::ConvexPolygon ( const std::vector< Point > &  coords)

Definition at line 83 of file PolyWorld.cpp.

Member Function Documentation

◆ inside()

bool ConvexPolygon::inside ( Point  point) const

Definition at line 127 of file PolyWorld.cpp.

◆ numPoints()

size_t ConvexPolygon::numPoints ( ) const
inline

Definition at line 62 of file PolyWorld.h.

◆ operator[]()

Point ConvexPolygon::operator[] ( size_t  i) const
inline

Definition at line 67 of file PolyWorld.h.


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