public class StlRoot extends Object
Represents root information for STL drawing. StlRoot contains data about vertices, materials, and shapes. Each shape contains information about set of faces with corresponding material, vertex and normal indices.
| Constructor and Description |
|---|
StlRoot()
Initializes a new instance of the class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
addVertex(VertexDataUnit stlVertex)
Add vertex.
|
List<StlShape> |
getShapes()
Gets or sets the shapes.
|
com.aspose.ms.System.Collections.Generic.Dictionary<Integer,VertexDataUnit> |
getVertices()
Gets or sets the vertices.
|
void |
setShapes(List<StlShape> value)
Gets or sets the shapes.
|
void |
setVertices(com.aspose.ms.System.Collections.Generic.Dictionary<Integer,VertexDataUnit> value)
Gets or sets the vertices.
|
public final com.aspose.ms.System.Collections.Generic.Dictionary<Integer,VertexDataUnit> getVertices()
Gets or sets the vertices.
Value: The vertices.public final void setVertices(com.aspose.ms.System.Collections.Generic.Dictionary<Integer,VertexDataUnit> value)
Gets or sets the vertices.
Value: The vertices.public final void setShapes(List<StlShape> value)
Gets or sets the shapes.
Value: The shapes.public final int addVertex(VertexDataUnit stlVertex)
Add vertex.
stlVertex - The vertex.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.