class documentation

Represents a point in 3D space with an additional rotation component.

Class Method unpack Unpacks a bytes sequence into a Point object.
Method __init__ Undocumented
Method pack Packs the Point object into a bytes sequence.
Instance Variable r Undocumented
Instance Variable x Undocumented
Instance Variable y Undocumented
Instance Variable z Undocumented
def unpack(cls, data: bytes) -> tagARCCmd.Point: (source)

Unpacks a bytes sequence into a Point object.

Parameters
data:bytesThe bytes to unpack, expected to be 32 bytes (4 doubles).
Returns
tagARCCmd.PointA Point object.
Raises
struct.errorIf the input bytes are not the expected size (32 bytes).
def __init__(self, x: float, y: float, z: float, r: float): (source)

Undocumented

def pack(self) -> bytes: (source)

Packs the Point object into a bytes sequence.

Packs 4 floats (x, y, z, r) into a byte string. Uses little-endian byte order.

Returns
bytesA bytes object representing the packed data (32 bytes).

Undocumented

Undocumented

Undocumented

Undocumented