public static class B3DModel.Face
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private B3DModel.Brush |
brush |
private javax.vecmath.Vector3f |
normal |
private B3DModel.Vertex |
v1 |
private B3DModel.Vertex |
v2 |
private B3DModel.Vertex |
v3 |
Constructor and Description |
---|
Face(B3DModel.Vertex v1,
B3DModel.Vertex v2,
B3DModel.Vertex v3,
B3DModel.Brush brush) |
Face(B3DModel.Vertex v1,
B3DModel.Vertex v2,
B3DModel.Vertex v3,
B3DModel.Brush brush,
javax.vecmath.Vector3f normal) |
Modifier and Type | Method and Description |
---|---|
B3DModel.Brush |
getBrush() |
javax.vecmath.Vector3f |
getNormal() |
static javax.vecmath.Vector3f |
getNormal(B3DModel.Vertex v1,
B3DModel.Vertex v2,
B3DModel.Vertex v3) |
B3DModel.Vertex |
getV1() |
B3DModel.Vertex |
getV2() |
B3DModel.Vertex |
getV3() |
java.lang.String |
toString() |
private final B3DModel.Vertex v1
private final B3DModel.Vertex v2
private final B3DModel.Vertex v3
@Nullable private final B3DModel.Brush brush
private final javax.vecmath.Vector3f normal
public Face(B3DModel.Vertex v1, B3DModel.Vertex v2, B3DModel.Vertex v3, @Nullable B3DModel.Brush brush)
public Face(B3DModel.Vertex v1, B3DModel.Vertex v2, B3DModel.Vertex v3, @Nullable B3DModel.Brush brush, javax.vecmath.Vector3f normal)
public B3DModel.Vertex getV1()
public B3DModel.Vertex getV2()
public B3DModel.Vertex getV3()
@Nullable public B3DModel.Brush getBrush()
public java.lang.String toString()
toString
in class java.lang.Object
public javax.vecmath.Vector3f getNormal()
public static javax.vecmath.Vector3f getNormal(B3DModel.Vertex v1, B3DModel.Vertex v2, B3DModel.Vertex v3)