Package | Description |
---|---|
eu.printingin3d.javascad.vrl |
Modifier and Type | Method and Description |
---|---|
Polygon |
Polygon.flip()
Flips this polygon.
|
static Polygon |
Polygon.fromPolygons(List<Coords3d> vertices,
Color color)
Creates a new polygon that consists of the specified vertices.
|
Polygon |
Polygon.transformed(ITransformation transform)
Returns a transformed copy of this polygon.
|
Modifier and Type | Method and Description |
---|---|
List<Polygon> |
Node.allPolygons()
Returns with all the polygons this node holds including those which are in the front and back nodes.
|
List<Polygon> |
Node.clipPolygons(List<Polygon> polys)
Recursively removes all polygons in the
polygons list that are
contained within this BSP tree. |
List<Polygon> |
CSG.getPolygons() |
Modifier and Type | Method and Description |
---|---|
static CSG |
CSG.fromPolygons(Polygon... polygons)
Constructs a CSG from the specified
Polygon instances. |
void |
Polygon.splitPolygon(Polygon polygon,
List<Polygon> coplanarFront,
List<Polygon> coplanarBack,
List<Polygon> front,
List<Polygon> back)
Splits a
Polygon by this plane if needed. |
Modifier and Type | Method and Description |
---|---|
Node |
Node.build(List<Polygon> polygons)
Build a new node adding the given polygons - splitting the polygons if necessary.
|
List<Polygon> |
Node.clipPolygons(List<Polygon> polys)
Recursively removes all polygons in the
polygons list that are
contained within this BSP tree. |
static Node |
Node.fromPoligons(List<Polygon> polygons)
Creates a BSP node consisting of the specified polygons.
|
void |
Polygon.splitPolygon(Polygon polygon,
List<Polygon> coplanarFront,
List<Polygon> coplanarBack,
List<Polygon> front,
List<Polygon> back)
Splits a
Polygon by this plane if needed. |
void |
Polygon.splitPolygon(Polygon polygon,
List<Polygon> coplanarFront,
List<Polygon> coplanarBack,
List<Polygon> front,
List<Polygon> back)
Splits a
Polygon by this plane if needed. |
void |
Polygon.splitPolygon(Polygon polygon,
List<Polygon> coplanarFront,
List<Polygon> coplanarBack,
List<Polygon> front,
List<Polygon> back)
Splits a
Polygon by this plane if needed. |
void |
Polygon.splitPolygon(Polygon polygon,
List<Polygon> coplanarFront,
List<Polygon> coplanarBack,
List<Polygon> front,
List<Polygon> back)
Splits a
Polygon by this plane if needed. |
Constructor and Description |
---|
CSG(List<Polygon> polygons)
Creates a new CSG file based on the given polygons.
|
Copyright © 2014–2020, Printing in 3D. All rights reserved.