Package 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 forMesh
-
-
Constructor Summary
Constructors Constructor Description PolygonBuilder(Mesh mesh)
Initializes a new instance of thePolygonBuilder
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVertex(int index)
Adds a vertex index to the polygonvoid
begin()
Begins to add a new polygonvoid
end()
Finishes the polygon creation
-
-
-
Constructor Detail
-
PolygonBuilder
public PolygonBuilder(Mesh mesh)
Initializes a new instance of thePolygonBuilder
class.- Parameters:
mesh
- On which mesh to build polygon.
-
-