Package com.irurueta.geometry.io
Enum Class DataTypePLY
- All Implemented Interfaces:
Serializable,Comparable<DataTypePLY>,Constable
Enumeration defining supported data types for PLY format.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSigned character (signed 8-bit integer).Double (64-bit floating-point).Float (32-bit floating-point).32-bit floating-point.64-bit floating-point.Signed integer (signed 32-bit integer).Signed 16-bit integer.Signed 32-bit integer.Signed 8-bit integer.Signed short (signed 16-bit integer).Unsigned character (unsigned 8-bit integer).Unsigned integer (unsigned 32-bit integer).Unsigned 16-bit integer.Unsigned 32-bit integer.Unsigned 8-bit integer.Unsigned short (unsigned 16-bit integer). -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDataTypePLY(String value) Constructor of this enum with a string representation. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataTypePLYBuilds an instance of this enum.getValue()Returns string representation of an instance of this enum.static DataTypePLYReturns the enum constant of this class with the specified name.static DataTypePLY[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PLY_INT8
Signed 8-bit integer. -
PLY_UINT8
Unsigned 8-bit integer. -
PLY_INT16
Signed 16-bit integer. -
PLY_UINT16
Unsigned 16-bit integer. -
PLY_INT32
Signed 32-bit integer. -
PLY_UINT32
Unsigned 32-bit integer. -
PLY_FLOAT32
32-bit floating-point. -
PLY_FLOAT64
64-bit floating-point. -
PLY_CHAR
Signed character (signed 8-bit integer). -
PLY_UCHAR
Unsigned character (unsigned 8-bit integer). -
PLY_SHORT
Signed short (signed 16-bit integer). -
PLY_USHORT
Unsigned short (unsigned 16-bit integer). -
PLY_INT
Signed integer (signed 32-bit integer). -
PLY_UINT
Unsigned integer (unsigned 32-bit integer). -
PLY_FLOAT
Float (32-bit floating-point). -
PLY_DOUBLE
Double (64-bit floating-point).
-
-
Field Details
-
LOOKUP
-
value
Internal representation of this enum as a string.
-
-
Constructor Details
-
DataTypePLY
Constructor of this enum with a string representation.- Parameters:
value- String value for this enum.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
Returns string representation of an instance of this enum.- Returns:
- String representation.
-
forValue
Builds an instance of this enum.- Parameters:
value- String representation of this enum.- Returns:
- An instance of this enum.
-