Class StlConstants
- java.lang.Object
-
- org.apache.commons.geometry.io.euclidean.threed.stl.StlConstants
-
final class StlConstants extends java.lang.Object
Class containing constants for the STL file format.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.nio.ByteOrder
BINARY_BYTE_ORDER
Byte order for binary data.(package private) static int
BINARY_HEADER_BYTES
Number of bytes in the binary format header.(package private) static int
BINARY_TRIANGLE_BYTES
Number of bytes for each triangle in the binary format.(package private) static java.nio.charset.Charset
DEFAULT_CHARSET
Default STL charset.(package private) static java.lang.String
FACET_END_KEYWORD
Keyword used to indicate the end of a facet.(package private) static java.lang.String
FACET_START_KEYWORD
Keyword used to indicate the start of a facet.(package private) static java.lang.String
LOOP_END_KEYWORD
Keyword used to indicate the end of a vertex loop.(package private) static java.lang.String
LOOP_START_KEYWORD
Keyword used to indicate the start of a vertex loop.(package private) static java.lang.String
NORMAL_KEYWORD
Keyword used to introduce a facet normal.(package private) static java.lang.String
OUTER_KEYWORD
Keyword used when describing the outer vertex loop of a facet.(package private) static java.lang.String
SOLID_END_KEYWORD
Keyword used to indicate the end of a solid definition.(package private) static java.lang.String
SOLID_START_KEYWORD
Keyword indicating the start of a solid.(package private) static java.lang.String
VERTEX_KEYWORD
Keyword used to indicate a vertex definition.
-
Constructor Summary
Constructors Modifier Constructor Description private
StlConstants()
Utility class; no instantiation.
-
-
-
Field Detail
-
DEFAULT_CHARSET
static final java.nio.charset.Charset DEFAULT_CHARSET
Default STL charset.
-
SOLID_START_KEYWORD
static final java.lang.String 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:
- Constant Field Values
-
SOLID_END_KEYWORD
static final java.lang.String SOLID_END_KEYWORD
Keyword used to indicate the end of a solid definition.- See Also:
- Constant Field Values
-
FACET_START_KEYWORD
static final java.lang.String FACET_START_KEYWORD
Keyword used to indicate the start of a facet.- See Also:
- Constant Field Values
-
FACET_END_KEYWORD
static final java.lang.String FACET_END_KEYWORD
Keyword used to indicate the end of a facet.- See Also:
- Constant Field Values
-
NORMAL_KEYWORD
static final java.lang.String NORMAL_KEYWORD
Keyword used to introduce a facet normal.- See Also:
- Constant Field Values
-
OUTER_KEYWORD
static final java.lang.String OUTER_KEYWORD
Keyword used when describing the outer vertex loop of a facet.- See Also:
- Constant Field Values
-
LOOP_START_KEYWORD
static final java.lang.String LOOP_START_KEYWORD
Keyword used to indicate the start of a vertex loop.- See Also:
- Constant Field Values
-
LOOP_END_KEYWORD
static final java.lang.String LOOP_END_KEYWORD
Keyword used to indicate the end of a vertex loop.- See Also:
- Constant Field Values
-
VERTEX_KEYWORD
static final java.lang.String VERTEX_KEYWORD
Keyword used to indicate a vertex definition.- See Also:
- Constant Field Values
-
BINARY_HEADER_BYTES
static final int BINARY_HEADER_BYTES
Number of bytes in the binary format header.- See Also:
- Constant Field Values
-
BINARY_TRIANGLE_BYTES
static final int BINARY_TRIANGLE_BYTES
Number of bytes for each triangle in the binary format.- See Also:
- Constant Field Values
-
BINARY_BYTE_ORDER
static final java.nio.ByteOrder BINARY_BYTE_ORDER
Byte order for binary data.
-
-