Package de.javagl.ply
Interface Element
-
- All Known Subinterfaces:
MutableElement
public interface ElementInterface 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. aClassCastException)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getCharListProperty(String name)Returns the specified property value, ornullif this element does not have this property.BytegetCharProperty(String name)Returns the specified property value, ornullif this element does not have this property.double[]getDoubleListProperty(String name)Returns the specified property value, ornullif this element does not have this property.DoublegetDoubleProperty(String name)Returns the specified property value, ornullif this element does not have this property.float[]getFloatListProperty(String name)Returns the specified property value, ornullif this element does not have this property.FloatgetFloatProperty(String name)Returns the specified property value, ornullif this element does not have this property.int[]getIntListProperty(String name)Returns the specified property value, ornullif this element does not have this property.IntegergetIntProperty(String name)Returns the specified property value, ornullif this element does not have this property.short[]getShortListProperty(String name)Returns the specified property value, ornullif this element does not have this property.ShortgetShortProperty(String name)Returns the specified property value, ornullif this element does not have this property.
-
-
-
Method Detail
-
getCharProperty
Byte getCharProperty(String name)
Returns the specified property value, ornullif this element does not have this property.- Parameters:
name- The name- Returns:
- The value
-
getShortProperty
Short getShortProperty(String name)
Returns the specified property value, ornullif this element does not have this property.- Parameters:
name- The name- Returns:
- The value
-
getIntProperty
Integer getIntProperty(String name)
Returns the specified property value, ornullif this element does not have this property.- Parameters:
name- The name- Returns:
- The value
-
getFloatProperty
Float getFloatProperty(String name)
Returns the specified property value, ornullif this element does not have this property.- Parameters:
name- The name- Returns:
- The value
-
getDoubleProperty
Double getDoubleProperty(String name)
Returns the specified property value, ornullif this element does not have this property.- Parameters:
name- The name- Returns:
- The value
-
getCharListProperty
byte[] getCharListProperty(String name)
Returns the specified property value, ornullif this element does not have this property.- Parameters:
name- The name- Returns:
- The value
-
getShortListProperty
short[] getShortListProperty(String name)
Returns the specified property value, ornullif this element does not have this property.- Parameters:
name- The name- Returns:
- The value
-
getIntListProperty
int[] getIntListProperty(String name)
Returns the specified property value, ornullif this element does not have this property.- Parameters:
name- The name- Returns:
- The value
-
getFloatListProperty
float[] getFloatListProperty(String name)
Returns the specified property value, ornullif this element does not have this property.- Parameters:
name- The name- Returns:
- The value
-
getDoubleListProperty
double[] getDoubleListProperty(String name)
Returns the specified property value, ornullif this element does not have this property.- Parameters:
name- The name- Returns:
- The value
-
-