|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Polygon2D | |
---|---|
toxi.geom | |
toxi.geom.mesh2d |
Uses of Polygon2D in toxi.geom |
---|
Methods in toxi.geom that return Polygon2D | |
---|---|
Polygon2D |
Polygon2D.add(Vec2D p)
Adds a new vertex to the polygon (builder pattern). |
Polygon2D |
SutherlandHodgemanClipper.clipPolygon(Polygon2D poly)
|
Polygon2D |
PolygonClipper2D.clipPolygon(Polygon2D poly)
Creates a clipped version of the polygon to the boundary shape set. |
Polygon2D |
Polygon2D.flipVertexOrder()
Flips the ordering of the polygon's vertices. |
Polygon2D |
Polygon2D.reverseOrientation()
Deprecated. |
Polygon2D |
Polygon2D.smooth(float amount,
float baseWeight)
Applies a laplacian-style smooth operation to all polygon vertices, causing sharp corners/angles to widen and results in a general smoother shape. |
Polygon2D |
Triangle2D.toPolygon2D()
Creates a Polygon2D instance of the triangle. |
Polygon2D |
Rect.toPolygon2D()
Creates a Polygon2D instance of the rect. |
Polygon2D |
Ellipse.toPolygon2D(int res)
Creates a Polygon2D instance of the ellipse sampling it at the
given resolution. |
Methods in toxi.geom with parameters of type Polygon2D | |
---|---|
Polygon2D |
SutherlandHodgemanClipper.clipPolygon(Polygon2D poly)
|
Polygon2D |
PolygonClipper2D.clipPolygon(Polygon2D poly)
Creates a clipped version of the polygon to the boundary shape set. |
Uses of Polygon2D in toxi.geom.mesh2d |
---|
Methods in toxi.geom.mesh2d that return types with arguments of type Polygon2D | |
---|---|
java.util.List<Polygon2D> |
Voronoi.getRegions()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |