Crystalg::Geometry::Polygon(T)
Inherits Reference < Object
Constructors
new(points : Array(Point(T)))
Sourcenew(*points : Point(T))
SourceInstance methods
[](i)
Sourcearea
Sourcecontain(target : Point(T)) : Containment
Sourceconvex_cut(line : Line(T))
Sourceconvex_hull
Sourcecur(i)
Sourcediameter
Sourceis_convex?
Sourcenxt(i)
Sourceprv(i)
Sourcesize
Source