Package | Description |
---|---|
eu.printingin3d.javascad.coords | |
eu.printingin3d.javascad.models | |
eu.printingin3d.javascad.vrl |
Modifier and Type | Method and Description |
---|---|
static Triangle3d |
Triangle3d.fromByteArray(ByteBuffer bb)
Reads the given byte buffer and creates a triangle based on its content.
|
Modifier and Type | Method and Description |
---|---|
static List<Triangle3d> |
Triangle3d.getTriangles(Coords3d... coords)
Creates a list of triangles which covers the polygon defined by the given list of coordinates.
|
static List<Triangle3d> |
Triangle3d.getTriangles(List<Coords3d> coords)
Creates a list of triangles which covers the polygon defined by the given list of coordinates.
|
Modifier and Type | Field and Description |
---|---|
protected List<Triangle3d> |
Polyhedron.triangles |
Constructor and Description |
---|
Polyhedron(List<Triangle3d> triangles)
Constructs the object with the given triangles.
|
Modifier and Type | Method and Description |
---|---|
Triangle3d |
Facet.getTriangle()
Returns the triangle within this facet.
|
Constructor and Description |
---|
Facet(Triangle3d triangle,
Coords3d normal,
Color color)
Creates a facet based on a triangle and a normal vector.
|
Copyright © 2014–2020, Printing in 3D. All rights reserved.