Package de.javagl.ply

Interface Element

  • All Known Subinterfaces:
    MutableElement

    public interface Element
    Interface for an element of PLY data. The methods in this interface may return references to the arrays that are stored internally. Clients should be aware of possible side-effects when modifying these arrays. Implementations of this interface are not required to perform any type checks. When requesting a property with the wrong type, implementations are allowed to throw an unchecked exception (e.g. a ClassCastException)
    • Method Detail

      • getCharProperty

        Byte getCharProperty​(String name)
        Returns the specified property value, or null if this element does not have this property.
        Parameters:
        name - The name
        Returns:
        The value
      • getShortProperty

        Short getShortProperty​(String name)
        Returns the specified property value, or null if this element does not have this property.
        Parameters:
        name - The name
        Returns:
        The value
      • getIntProperty

        Integer getIntProperty​(String name)
        Returns the specified property value, or null if this element does not have this property.
        Parameters:
        name - The name
        Returns:
        The value
      • getFloatProperty

        Float getFloatProperty​(String name)
        Returns the specified property value, or null if this element does not have this property.
        Parameters:
        name - The name
        Returns:
        The value
      • getDoubleProperty

        Double getDoubleProperty​(String name)
        Returns the specified property value, or null if this element does not have this property.
        Parameters:
        name - The name
        Returns:
        The value
      • getCharListProperty

        byte[] getCharListProperty​(String name)
        Returns the specified property value, or null if this element does not have this property.
        Parameters:
        name - The name
        Returns:
        The value
      • getShortListProperty

        short[] getShortListProperty​(String name)
        Returns the specified property value, or null if this element does not have this property.
        Parameters:
        name - The name
        Returns:
        The value
      • getIntListProperty

        int[] getIntListProperty​(String name)
        Returns the specified property value, or null if this element does not have this property.
        Parameters:
        name - The name
        Returns:
        The value
      • getFloatListProperty

        float[] getFloatListProperty​(String name)
        Returns the specified property value, or null if this element does not have this property.
        Parameters:
        name - The name
        Returns:
        The value
      • getDoubleListProperty

        double[] getDoubleListProperty​(String name)
        Returns the specified property value, or null if this element does not have this property.
        Parameters:
        name - The name
        Returns:
        The value