class documentation

class Position:

View In Hierarchy

Cartesian position defined by X, Y, and Z coordinates.

see https://reference.opcfoundation.org/specs/OPC-10000-210/b-1

Method __post_init__ Verify unit post initialization.
Method as_tuple Return (x, y, z) in this position's unit.
Method is_close Approximate equality; other is converted to this position's unit.
Method to Convert this position to one with given unit.
Class Variable x Undocumented
Class Variable y Undocumented
Class Variable z Undocumented
def __post_init__(self):

Verify unit post initialization.

def as_tuple(self) -> tuple[float, float, float]:

Return (x, y, z) in this position's unit.

def is_close(self, other: Position, *, rel_tol: float = 1e-09, abs_tol: float = 1e-09) -> bool:

Approximate equality; other is converted to this position's unit.

def to(self, unit: Unit) -> Position:

Convert this position to one with given unit.

x: float =

Undocumented

y: float =

Undocumented

z: float =

Undocumented