FloatArray
Inheritance: java.lang.Object, ColladaElement
All Implemented Interfaces: com.aspose.cad_internal.fileformats.collada.fileparser.elements.interfaces.ISourceTextArray
The float array. The float_array element declares the storage for a homogenous array of floating point values.
Constructors
| Constructor | Description |
|---|---|
| FloatArray() | Initializes a new instance of the FloatArray class. |
Methods
| Method | Description |
|---|---|
| getId() | Gets or sets the id. The id attribute is a text string containing the unique identifier of this element. This value must be unique within the instance document. Optional attribute. |
| setId(String value) | Gets or sets the id. The id attribute is a text string containing the unique identifier of this element. This value must be unique within the instance document. Optional attribute. |
| getName() | Gets or sets the name. The name attribute is the text string name of this element. Optional attribute. |
| setName(String value) | Gets or sets the name. The name attribute is the text string name of this element. Optional attribute. |
| getCount() | Gets or sets the count. The count attribute indicates the number of values in the array. Required attribute. |
| setCount(long value) | Gets or sets the count. The count attribute indicates the number of values in the array. Required attribute. |
| getDigits() | Gets or sets the digits. The digits attribute indicates the number of significant decimal digits of the float values that can be contained in the array. The default value is 6. Optional attribute. |
| setDigits(byte value) | Gets or sets the digits. The digits attribute indicates the number of significant decimal digits of the float values that can be contained in the array. The default value is 6. Optional attribute. |
| getMagnitude() | Gets or sets the magnitude. The magnitude attribute indicates the largest exponent of the float values that can be contained in the array. The default value is 38. Optional attribute. |
| setMagnitude(short value) | Gets or sets the magnitude. The magnitude attribute indicates the largest exponent of the float values that can be contained in the array. The default value is 38. Optional attribute. |
| getText() | Gets or sets the text. |
| setText(String value) | Gets or sets the text. |
FloatArray()
public FloatArray()
Initializes a new instance of the FloatArray class.
getId()
public final String getId()
Gets or sets the id. The id attribute is a text string containing the unique identifier of this element. This value must be unique within the instance document. Optional attribute.
Returns: String
setId(String value)
public final void setId(String value)
Gets or sets the id. The id attribute is a text string containing the unique identifier of this element. This value must be unique within the instance document. Optional attribute.
getName()
public final String getName()
Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.
Returns: String
setName(String value)
public final void setName(String value)
Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.
getCount()
public final long getCount()
Gets or sets the count. The count attribute indicates the number of values in the array. Required attribute.
Returns: long
setCount(long value)
public final void setCount(long value)
Gets or sets the count. The count attribute indicates the number of values in the array. Required attribute.
getDigits()
public final byte getDigits()
Gets or sets the digits. The digits attribute indicates the number of significant decimal digits of the float values that can be contained in the array. The default value is 6. Optional attribute.
Returns: byte
setDigits(byte value)
public final void setDigits(byte value)
Gets or sets the digits. The digits attribute indicates the number of significant decimal digits of the float values that can be contained in the array. The default value is 6. Optional attribute.
getMagnitude()
public final short getMagnitude()
Gets or sets the magnitude. The magnitude attribute indicates the largest exponent of the float values that can be contained in the array. The default value is 38. Optional attribute.
Returns: short
setMagnitude(short value)
public final void setMagnitude(short value)
Gets or sets the magnitude. The magnitude attribute indicates the largest exponent of the float values that can be contained in the array. The default value is 38. Optional attribute.
getText()
public final String getText()
Gets or sets the text.
Returns: String
setText(String value)
public final void setText(String value)
Gets or sets the text.