habitat_sim.geo.OBB class

Methods

def closest_point(self, arg0: numpy.ndarray[numpy.float32[3, 1]], /) -> numpy.ndarray[numpy.float32[3, 1]]
def contains(self, arg0: numpy.ndarray[numpy.float32[3, 1]], arg1: float, /) -> bool
def distance(self, arg0: numpy.ndarray[numpy.float32[3, 1]], /) -> float
def rotate(self, arg0: magnum.Quaternion, /) -> OBB
def to_aabb(self, /) -> BBox

Special methods

def __init__(self, arg0: numpy.ndarray[numpy.float32[3, 1]], arg1: numpy.ndarray[numpy.float32[3, 1]], arg2: magnum.Quaternion, /) -> None
def __init__(self, arg0: BBox, /) -> None

Properties

center: numpy.ndarray[numpy.float32[3, 1]] get
half_extents: numpy.ndarray[numpy.float32[3, 1]] get
local_to_world: numpy.ndarray[numpy.float32[4, 4]] get
rotation: numpy.ndarray[numpy.float32[4, 1]] get
sizes: numpy.ndarray[numpy.float32[3, 1]] get
volume: float get
world_to_local: numpy.ndarray[numpy.float32[4, 4]] get