SBSpatialDomain#

This class describes a spatial domain.

# Constructs an identity domain
SBSpatialDomain()

# Constructs a domain from a identity spatial transform and a half size
SBSpatialDomain(SBSpatialTransform.identity(), SBPosition3(1, 2, 3))

See also

SAMSON SDK: SBDTypeSpatialDomain

class samson.SBSpatialDomain(*args, **kwargs)#

Bases: pybind11_object

This class describes spatial domains.

SAMSON API: SBDTypeSpatialDomain

Overloaded function.

  1. __init__(self: samson.SBSpatialDomain) -> None

Constructs an identity domain.

  1. __init__(self: samson.SBSpatialDomain, transform: samson.SBSpatialTransform, halfSize: samson.SBPhysicalVector3) -> None

“Constructs a domain from a spatial transform and a half size.

Parameters:
__eq__(self: samson.SBSpatialDomain, arg0: samson.SBSpatialDomain) bool#
__ne__(self: samson.SBSpatialDomain, arg0: samson.SBSpatialDomain) bool#
setEmpty(self: samson.SBSpatialDomain) None#

Sets this domain to the empty domain.

str(self: samson.SBSpatialDomain, fullName: bool = False) str#

Converts the spatial domain to a string (with a full unit name when fullName is True.)