viam.spatialmath.vector3

Classes

Vector3

A 3-vector backed by the rust-utils spatialmath FFI.

Module Contents

class viam.spatialmath.vector3.Vector3(x: float, y: float, z: float)[source]

A 3-vector backed by the rust-utils spatialmath FFI.

__slots__ = ('_handle', '__weakref__')
property x: float
property y: float
property z: float
classmethod from_proto(proto) Vector3[source]
to_proto()[source]
dot(other: Vector3) float[source]
cross(other: Vector3) Vector3[source]
__add__(other: Vector3) Vector3[source]
__sub__(other: Vector3) Vector3[source]
scaled(factor: float) Vector3[source]
normalized() Vector3[source]
__repr__() str[source]