3D rectangle in the X, Y and Z domain. More...
Public Member Functions | |
bool | contains (self, cvb.Point3D point) |
Check if a point is inside the cuboid. | |
bool | intersects_with (self, cvb.Cuboid other) |
Check if this cuboid intersects with another cuboid. | |
Properties | |
x_range = property | |
cvb.NumberRange: Gets or sets the range regarding the x-axis. | |
y_range = property | |
cvb.NumberRange: Gets or sets the range regarding the y-axis. | |
z_range = property | |
cvb.NumberRange: Gets or sets the range regarding the z-axis. | |
3D rectangle in the X, Y and Z domain.
Region resembling a cube with its faces having not necessarily equal sizes.
Initialize a cuboid object (default range from 0.0 to 0.0).
x_range : Optional[cvb.NumberRange] Range regarding the x-axis.
y_range : Optional[cvb.NumberRange] Range regarding the y-axis.
z_range : Optional[cvb.NumberRange] Range regarding the z-axis.
bool contains | ( | self, | |
cvb.Point3D | point ) |
Check if a point is inside the cuboid.
point : cvb.Point3D Point to be checked.
bool True if the value is within the cuboid, False otherwise.
bool intersects_with | ( | self, | |
cvb.Cuboid | other ) |
Check if this cuboid intersects with another cuboid.
other : cvb.Cuboid Cuboid for intersection test.
bool True if this cuboid and the other cuboid have at least one 3D point in common, false otherwise.
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.