Enum Class PLYStorageMode

java.lang.Object
java.lang.Enum<PLYStorageMode>
com.irurueta.geometry.io.PLYStorageMode
All Implemented Interfaces:
Serializable, Comparable<PLYStorageMode>, Constable

public enum PLYStorageMode extends Enum<PLYStorageMode>
Enumerator containing different storage modes supported for PLY files.
  • Enum Constant Details

    • PLY_BIG_ENDIAN

      public static final PLYStorageMode PLY_BIG_ENDIAN
      Binary big-endian. When using big-endian natural binary order of data is preserved (high bytes come first).
    • PLY_LITTLE_ENDIAN

      public static final PLYStorageMode PLY_LITTLE_ENDIAN
      Binary little-endian. When using little-endian natural binary order of data is reversed (low bytes come first).
    • PLY_ASCII

      public static final PLYStorageMode PLY_ASCII
      ASCII text. Data is stored in readable text format. This format might lose precision for floating point data.
  • Constructor Details

    • PLYStorageMode

      private PLYStorageMode()
  • Method Details

    • values

      public static PLYStorageMode[] 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

      public static PLYStorageMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null