public class StlShape extends Object
Represents a shape object for Stl format. Contains information about set of faces with corresponding material, vertex, texture, and normal indices.
| Constructor and Description |
|---|
StlShape()
Initializes a new instance of the class.
|
| Modifier and Type | Method and Description |
|---|---|
List<StlFace> |
getFaces()
Gets or sets the faces.
|
List<TriangularFacet> |
getFacets() |
int |
getMaterialId()
Gets or sets the material identifier.
|
String |
getName()
Gets or sets the name.
|
void |
setFaces(List<StlFace> value)
Gets or sets the faces.
|
void |
setFacets(List<TriangularFacet> value) |
void |
setMaterialId(int value)
Gets or sets the material identifier.
|
void |
setName(String value)
Gets or sets the name.
|
public final String getName()
Gets or sets the name.
Value: The name.public final void setName(String value)
Gets or sets the name.
Value: The name.public final List<TriangularFacet> getFacets()
public final void setFacets(List<TriangularFacet> value)
public final int getMaterialId()
Gets or sets the material identifier.
Value: The material identifier.public final void setMaterialId(int value)
Gets or sets the material identifier.
Value: The material identifier.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.