Packages

 

com.aspose.cad.fileformats.stl.stllibrary.core.models

Class TriangularFacet

  • java.lang.Object
    • com.aspose.cad.fileformats.stl.stllibrary.core.models.TriangularFacet


  • public class TriangularFacet
    extends Object

    Triangular facet of the surface.

    • Constructor Detail

      • TriangularFacet

        public TriangularFacet()
    • Method Detail

      • getNormal

        public final NormalDataUnit getNormal()

        Gets or sets the surface normal to the triangular facet.

      • setNormal

        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.

      • setVertex1

        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.

      • setVertex2

        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.

      • setVertex3

        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.

      • setColorData

        public final void setColorData(ColorDataUnit value)

        Gets or sets the surface color.