TriangularFacet

Triangular facet of the surface.

Constructors

ConstructorDescription
TriangularFacet()

Methods

MethodDescription
getNormal()Gets or sets the surface normal to the triangular facet.
setNormal(NormalDataUnit value)Gets or sets the surface normal to the triangular facet.
getVertex1()Gets or sets the coordinates of the first vertex.
setVertex1(VertexDataUnit value)Gets or sets the coordinates of the first vertex.
getVertex2()Gets or sets the coordinates of the second vertex.
setVertex2(VertexDataUnit value)Gets or sets the coordinates of the second vertex.
getVertex3()Gets or sets the coordinates of the third vertex.
setVertex3(VertexDataUnit value)Gets or sets the coordinates of the third vertex.
getColorData()Gets or sets the surface color.
setColorData(ColorDataUnit value)Gets or sets the surface color.

TriangularFacet()

public TriangularFacet()

getNormal()

public final NormalDataUnit getNormal()

Gets or sets the surface normal to the triangular facet.

Returns: NormalDataUnit

setNormal(NormalDataUnit value)

public final void setNormal(NormalDataUnit value)

Gets or sets the surface normal to the triangular facet.

getVertex1()

public final VertexDataUnit getVertex1()

Gets or sets the coordinates of the first vertex.

Returns: VertexDataUnit

setVertex1(VertexDataUnit value)

public final void setVertex1(VertexDataUnit value)

Gets or sets the coordinates of the first vertex.

getVertex2()

public final VertexDataUnit getVertex2()

Gets or sets the coordinates of the second vertex.

Returns: VertexDataUnit

setVertex2(VertexDataUnit value)

public final void setVertex2(VertexDataUnit value)

Gets or sets the coordinates of the second vertex.

getVertex3()

public final VertexDataUnit getVertex3()

Gets or sets the coordinates of the third vertex.

Returns: VertexDataUnit

setVertex3(VertexDataUnit value)

public final void setVertex3(VertexDataUnit value)

Gets or sets the coordinates of the third vertex.

getColorData()

public final ColorDataUnit getColorData()

Gets or sets the surface color.

Returns: ColorDataUnit

setColorData(ColorDataUnit value)

public final void setColorData(ColorDataUnit value)

Gets or sets the surface color.