de.mirell.math
class CQuaternion
Object
|
+--de.mirell.math.CQuaternion
Implemented Interfaces: IXMLSerializableclass CQuaternion extends Object
Property Documentation
Constructor Documentation
Method Documentation
fromAxisAngle
public function fromAxisAngle (
a: Number,
b: Number,
c: Number,
angle: Number): CQuaternion
b: Number,
c: Number,
angle: Number): CQuaternion
fromEulerAngles
public function fromEulerAngles (
pitch: Number,
yaw: Number,
roll: Number): CQuaternion
yaw: Number,
roll: Number): CQuaternion
fromXML
public function fromXML (
value: XML): Void
Unserializes XML into the object
Object state is set according to XML.
- Specified by:fromXML in interface de.mirell.xml.serialization.IXMLSerializable
- Parameters:
value XML which represents the serialized form of the object
toString
public function toString (
): String
Converts the specified object to a string and returns it.
- Overrides:Object.toString in class Object
- Returns:A string.
toXML
public function toXML (
): XML
Serializes the object into XML
The current object state will be serialized. The fromXML method must be able to unserialize the XML.
- Specified by:toXML in interface de.mirell.xml.serialization.IXMLSerializable
- Returns:The XML which contains the serialized representation of the object
- CQuaternion.as, Last Modified: 06.01.2004 03:47:54