com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class PolygonBuilder

  • java.lang.Object
    • com.aspose.threed.PolygonBuilder


  • public final class PolygonBuilder
    extends java.lang.Object
    A helper class to build polygon for Mesh
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addVertex(int index)
      Adds a vertex index to the polygon
      void begin()
      Begins to add a new polygon
      void end()
      Finishes the polygon creation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PolygonBuilder

        public PolygonBuilder(Mesh mesh)
        Initializes a new instance of the PolygonBuilder class.
        Parameters:
        mesh - On which mesh to build polygon.
    • Method Detail

      • begin

        public void begin()
        Begins to add a new polygon
      • addVertex

        public void addVertex(int index)
        Adds a vertex index to the polygon
        Parameters:
        index -
      • end

        public void end()
        Finishes the polygon creation