public class SphereAttributes extends AttributeSubject
Constructor and Description |
---|
SphereAttributes() |
SphereAttributes(int nMoreFields) |
SphereAttributes(SphereAttributes obj) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(SphereAttributes obj) |
int |
GetNumAdditionalAttributes()
Returns the number of attributes added in this level of the state object.
|
double[] |
GetOrigin() |
double |
GetRadius() |
int |
Offset()
Returns the offset into the selected table where this state object's fields begin.
|
void |
ReadAtts(int index,
CommunicationBuffer buf)
Reads the specified index's data from the buffer into the object.
|
void |
SetOrigin(double[] origin_) |
void |
SetOrigin(double e0,
double e1,
double e2) |
void |
SetRadius(double radius_) |
java.lang.String |
toString(java.lang.String indent) |
void |
WriteAtts(CommunicationBuffer buf)
Writes the selected fields of the object to the buffer.
|
Attach, boolArrayToString, boolToString, boolVectorToString, Detach, doubleArrayToString, doubleToString, doubleVectorToString, floatArrayToString, floatToString, floatVectorToString, GetAttributeId, GetClassName, intArrayToString, intToString, intVectorToString, IsSelected, Notify, NumAttributes, NumAttributesSelected, Read, Select, SelectAll, SetAttributeId, stringToString, stringVectorToString, toString, ucharArrayToString, ucharToString, ucharVectorToString, UnSelectAll, Write, WriteSelect
public SphereAttributes()
public SphereAttributes(int nMoreFields)
public SphereAttributes(SphereAttributes obj)
public int Offset()
AttributeSubject
Offset
in class AttributeSubject
public int GetNumAdditionalAttributes()
AttributeSubject
GetNumAdditionalAttributes
in class AttributeSubject
public boolean equals(SphereAttributes obj)
public void SetOrigin(double[] origin_)
public void SetOrigin(double e0, double e1, double e2)
public void SetRadius(double radius_)
public double[] GetOrigin()
public double GetRadius()
public void WriteAtts(CommunicationBuffer buf)
AttributeSubject
WriteAtts
in class AttributeSubject
buf
- The communication buffer to which the object will be written.public void ReadAtts(int index, CommunicationBuffer buf)
AttributeSubject
ReadAtts
in class AttributeSubject
buf
- The communication buffer to from which the object will be read.public java.lang.String toString(java.lang.String indent)
toString
in class AttributeSubject