modm API documentation
Polygon2DTest Class Reference
Inheritance diagram for Polygon2DTest:
unittest::TestSuite

Public Member Functions

void testConstructor ()
 
void testInitializerListConstructor ()
 
void testAppendAndAccess ()
 
void testShiftOperator ()
 
void testIntersectionPolygon ()
 
void testIntersectionCircle ()
 
void testIntersectionLineSegment ()
 
void testIntersectionPointsLineSegment ()
 
void testPointContainedCW ()
 
void testPointContainedCCW ()
 
virtual void setUp ()
 
virtual void tearDown ()
 

Member Function Documentation

void Polygon2DTest::testPointContainedCW ( )

Check if a point is contained inside the area of a polygon.

See SVG image for a graphical representation of the polygon and the test points.


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