public class TriangularFacet extends Object
Triangular facet of the surface.
Constructor and Description |
---|
TriangularFacet() |
Modifier and Type | Method and Description |
---|---|
ColorDataUnit |
getColorData()
Gets or sets the surface color.
|
NormalDataUnit |
getNormal()
Gets or sets the surface normal to the triangular facet.
|
VertexDataUnit |
getVertex1()
Gets or sets the coordinates of the first vertex.
|
VertexDataUnit |
getVertex2()
Gets or sets the coordinates of the second vertex.
|
VertexDataUnit |
getVertex3()
Gets or sets the coordinates of the third vertex.
|
void |
setColorData(ColorDataUnit value)
Gets or sets the surface color.
|
void |
setNormal(NormalDataUnit value)
Gets or sets the surface normal to the triangular facet.
|
void |
setVertex1(VertexDataUnit value)
Gets or sets the coordinates of the first vertex.
|
void |
setVertex2(VertexDataUnit value)
Gets or sets the coordinates of the second vertex.
|
void |
setVertex3(VertexDataUnit value)
Gets or sets the coordinates of the third vertex.
|
public final NormalDataUnit getNormal()
Gets or sets the surface normal to the triangular facet.
public final void setNormal(NormalDataUnit value)
Gets or sets the surface normal to the triangular facet.
public final VertexDataUnit getVertex1()
Gets or sets the coordinates of the first vertex.
public final void setVertex1(VertexDataUnit value)
Gets or sets the coordinates of the first vertex.
public final VertexDataUnit getVertex2()
Gets or sets the coordinates of the second vertex.
public final void setVertex2(VertexDataUnit value)
Gets or sets the coordinates of the second vertex.
public final VertexDataUnit getVertex3()
Gets or sets the coordinates of the third vertex.
public final void setVertex3(VertexDataUnit value)
Gets or sets the coordinates of the third vertex.
public final ColorDataUnit getColorData()
Gets or sets the surface color.
public final void setColorData(ColorDataUnit value)
Gets or sets the surface color.