Class StlConstants
java.lang.Object
org.apache.commons.geometry.io.euclidean.threed.stl.StlConstants
Class containing constants for the STL file format.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final ByteOrder
Byte order for binary data.(package private) static final int
Number of bytes in the binary format header.(package private) static final int
Number of bytes for each triangle in the binary format.(package private) static final Charset
Default STL charset.(package private) static final String
Keyword used to indicate the end of a facet.(package private) static final String
Keyword used to indicate the start of a facet.(package private) static final String
Keyword used to indicate the end of a vertex loop.(package private) static final String
Keyword used to indicate the start of a vertex loop.(package private) static final String
Keyword used to introduce a facet normal.(package private) static final String
Keyword used when describing the outer vertex loop of a facet.(package private) static final String
Keyword used to indicate the end of a solid definition.(package private) static final String
Keyword indicating the start of a solid.(package private) static final String
Keyword used to indicate a vertex definition. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_CHARSET
Default STL charset. -
SOLID_START_KEYWORD
Keyword indicating the start of a solid. This is also the keyword used to indicate the start of a text (ASCII) STL file.- See Also:
-
SOLID_END_KEYWORD
Keyword used to indicate the end of a solid definition.- See Also:
-
FACET_START_KEYWORD
Keyword used to indicate the start of a facet.- See Also:
-
FACET_END_KEYWORD
Keyword used to indicate the end of a facet.- See Also:
-
NORMAL_KEYWORD
Keyword used to introduce a facet normal.- See Also:
-
OUTER_KEYWORD
Keyword used when describing the outer vertex loop of a facet.- See Also:
-
LOOP_START_KEYWORD
Keyword used to indicate the start of a vertex loop.- See Also:
-
LOOP_END_KEYWORD
Keyword used to indicate the end of a vertex loop.- See Also:
-
VERTEX_KEYWORD
Keyword used to indicate a vertex definition.- See Also:
-
BINARY_HEADER_BYTES
static final int BINARY_HEADER_BYTESNumber of bytes in the binary format header.- See Also:
-
BINARY_TRIANGLE_BYTES
static final int BINARY_TRIANGLE_BYTESNumber of bytes for each triangle in the binary format.- See Also:
-
BINARY_BYTE_ORDER
Byte order for binary data.
-
-
Constructor Details
-
StlConstants
private StlConstants()Utility class; no instantiation.
-