Polygon2D
Class
The Polygon class can represent a polygon in 2-dimensional space.
Functions
Variables
(constructor)
Construct Vertex.
AddPoint
Area
Centroid
Variables
Variables
P
A vector of points in the polygon.
Operators
None
© The University of Hong Kong Algorithms Library -
hkual@cs.hku.hk