Link Search Menu Expand Document

arena-py API v1.0.1

arena.attributes.position

Position attribute class to manage its properties in the ARENA: 3D object position. Usage: position=Position(...) or position=Position(x,y,z) or position=(x,y,z)

Parameters
  • float|Iterable|Mapping x: x Defaults to '0' (optional)
  • float y: y Defaults to '0' (optional)
  • float z: z Defaults to '0' (optional)
Position(x=None, y=None, z=None)
array
def to_str(self):
def distance_to(self, pos):