Package de.javagl.ply

Interface ElementDescriptor


  • public interface ElementDescriptor
    A description of an Element of a PLY file
    • Method Detail

      • getName

        String getName()
        Returns the name of the element
        Returns:
        The name of the element
      • getPropertyName

        String getPropertyName​(int propertyIndex)
        Returns the name of the specified property
        Parameters:
        propertyIndex - The property index
        Returns:
        The name
        Throws:
        IndexOutOfBoundsException - If the the property index is negative or not smaller than the number of properties
      • getPropertyType

        PlyType getPropertyType​(int propertyIndex)
        Returns the type of the specified property
        Parameters:
        propertyIndex - The property index
        Returns:
        The type
        Throws:
        IndexOutOfBoundsException - If the the property index is negative or not smaller than the number of properties
      • getPropertySizeType

        PlyType getPropertySizeType​(int propertyIndex)
        Returns the size type of the specified property, or null if the specified property is not a list property.
        Parameters:
        propertyIndex - The property index
        Returns:
        The name
        Throws:
        IndexOutOfBoundsException - If the the property index is negative or not smaller than the number of properties