Header menu logo Euclid

BBox Type

 An immutable 3D-bounding-box.
 This implementation guarantees the box to be always valid.
 That means the Min X, Y and Z values are always smaller or equal than the respective Max values.
 The X, Y and Z axes are also called Width, Depth and Height3D.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1

Record fields

Record Field Description

MaxX

Full Usage: MaxX

Field type: float
Field type: float

MaxY

Full Usage: MaxY

Field type: float
Field type: float

MaxZ

Full Usage: MaxZ

Field type: float
Field type: float

MinX

Full Usage: MinX

Field type: float
Field type: float

MinY

Full Usage: MinY

Field type: float
Field type: float

MinZ

Full Usage: MinZ

Field type: float
Field type: float

Instance members

Instance member Description

this.AsString

Full Usage: this.AsString

Returns: string

Format BoundingBox into string with nice floating point number formatting of size and position. But without full type name as in bbox.ToString()

Returns: string

this.BottomPoints

Full Usage: this.BottomPoints

Returns: Pnt[]
 Returns the bottom of the Box as a Counter-Clockwise array of 4 Points.
 Starting at MinPt. Point 0, 1, 2 and 3.
 Last and first point are NOT the same.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt[]

this.BottomPointsLooped

Full Usage: this.BottomPointsLooped

Returns: Pnt[]
 Returns the bottom of the Box as a Counter-Clockwise array of 5 Points, starting at MinPt.
 Starting at MinPt. Point 0, 1, 2, 3 and again 0.
 Last and first point are the same.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt[]

this.Center

Full Usage: this.Center

Returns: Pnt
Modifiers: inline

The center of this 3D-bounding-box.

Returns: Pnt

this.Contains

Full Usage: this.Contains

Parameters:
Returns: bool
Modifiers: inline

Returns true if this 3D-bounding-box is inside or exactly on the other bounding Box.

o : BBox
Returns: bool

this.Contains

Full Usage: this.Contains

Parameters:
Returns: bool
Modifiers: inline

Returns true if the point is inside or exactly on the bounding Box.

p : Pnt
Returns: bool

this.Depth

Full Usage: this.Depth

Returns: float
Modifiers: inline

The size in Y direction, same as member box.SizeY.

Returns: float

this.Diagonal

Full Usage: this.Diagonal

Returns: Vec
Modifiers: inline

The diagonal 3D vector of this 3D-bounding-box. From MinPnt to MaxPnt.

Returns: Vec

this.Edge01

Full Usage: this.Edge01

Returns: Line3D
Modifiers: inline

Returns the X aligned Edge from point 0 to 1.

Returns: Line3D

this.Edge03

Full Usage: this.Edge03

Returns: Line3D
Modifiers: inline

Returns the Y aligned Edge from point 0 to 3.

Returns: Line3D

this.Edge04

Full Usage: this.Edge04

Returns: Line3D
Modifiers: inline

Returns the Z aligned Edge from point 0 to 4.

Returns: Line3D

this.Edge12

Full Usage: this.Edge12

Returns: Line3D
Modifiers: inline

Returns the Y aligned Edge from point 1 to 2.

Returns: Line3D

this.Edge15

Full Usage: this.Edge15

Returns: Line3D
Modifiers: inline

Returns the Z aligned Edge from point 1 to 5.

Returns: Line3D

this.Edge26

Full Usage: this.Edge26

Returns: Line3D
Modifiers: inline

Returns the Z aligned Edge from point 2 to 6.

Returns: Line3D

this.Edge32

Full Usage: this.Edge32

Returns: Line3D
Modifiers: inline

Returns the X aligned Edge from point 3 to 2.

Returns: Line3D

this.Edge37

Full Usage: this.Edge37

Returns: Line3D
Modifiers: inline

Returns the Z aligned Edge from point 3 to 7.

Returns: Line3D

this.Edge45

Full Usage: this.Edge45

Returns: Line3D
Modifiers: inline

Returns the X aligned Edge from point 4 to 5.

Returns: Line3D

this.Edge47

Full Usage: this.Edge47

Returns: Line3D
Modifiers: inline

Returns the Y aligned Edge from point 4 to 7.

Returns: Line3D

this.Edge56

Full Usage: this.Edge56

Returns: Line3D
Modifiers: inline

Returns the Y aligned Edge from point 5 to 6.

Returns: Line3D

this.Edge76

Full Usage: this.Edge76

Returns: Line3D
Modifiers: inline

Returns the X aligned Edge from point 7 to 6.

Returns: Line3D

this.Edges

Full Usage: this.Edges

Returns: Line3D[]
 Returns the 12 Edges of this 3D-bounding-box as an array of 12 Lines.
 Pair is this order:
 0-1, 1-2, 3-2, 0-3, 0-4, 1-5, 2-6, 3-7, 4-5, 5-6, 7-6, 4-7

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Line3D[]

this.EvaluateAt

Full Usage: this.EvaluateAt

Parameters:
    xParameter : float
    yParameter : float
    zParameter : float

Returns: Pnt
Modifiers: inline
 Evaluate a X, Y and Z parameter of this 3D-bounding-box.
  0.0, 0.0, 0.0 returns the MinPnt.
  1.0, 1.0, 1.0 returns the MaxPnt.
xParameter : float
yParameter : float
zParameter : float
Returns: Pnt

this.Expand

Full Usage: this.Expand

Parameters:
    xDist : float
    yDist : float
    zDist : float

Returns: BBox
Modifiers: inline

Returns a 3D-bounding-box expanded by a distance for X, Y and Z-axis each. Does check for underflow if distance is negative and raises EuclidException.

xDist : float
yDist : float
zDist : float
Returns: BBox

this.Expand

Full Usage: this.Expand

Parameters:
    dist : float

Returns: BBox
Modifiers: inline

Returns a 3D-bounding-box expanded by distance. Does check for underflow if distance is negative and raises EuclidException.

dist : float
Returns: BBox

this.ExpandSave

Full Usage: this.ExpandSave

Parameters:
    dist : float

Returns: BBox
Modifiers: inline

Returns a 3D-bounding-box expanded by a distance. If expansion is negative it shrinks the Box. It also makes sure that there is no underflow. When the negative expansion is bigger than the size, Min and Max values will be both in the middle from where they were before.

dist : float
Returns: BBox

this.ExpandSave

Full Usage: this.ExpandSave

Parameters:
    xDist : float
    yDist : float
    zDist : float

Returns: BBox
Modifiers: inline

Returns a 3D-bounding-box expanded by a distance for X, Y and Z-axis each. If expansion is negative it shrinks the Box. It also makes sure that there is no underflow. When the negative expansion is bigger than the size, Min and Max values will be both in the middle from where they were before.

xDist : float
yDist : float
zDist : float
Returns: BBox

this.ExpandXaxis

Full Usage: this.ExpandXaxis

Parameters:
    startDist : float
    endDist : float

Returns: BBox
Modifiers: inline

Returns a 3D-bounding-box expanded only in X direction by different distance for start(minX) and end (maxX). Does check for underflow if distance is negative and raises EuclidException.

startDist : float
endDist : float
Returns: BBox

this.ExpandYaxis

Full Usage: this.ExpandYaxis

Parameters:
    startDist : float
    endDist : float

Returns: BBox
Modifiers: inline

Returns a 3D-bounding-box expanded only in Y direction by different distance for start(minY) and end (maxY). Does check for underflow if distance is negative and raises EuclidException.

startDist : float
endDist : float
Returns: BBox

this.ExpandZaxis

Full Usage: this.ExpandZaxis

Parameters:
    startDist : float
    endDist : float

Returns: BBox
Modifiers: inline

Returns a 3D-bounding-box expanded only in Z direction by different distance for start(minZ) and end (maxZ). Does check for underflow if distance is negative and raises EuclidException.

startDist : float
endDist : float
Returns: BBox

this.Height3D

Full Usage: this.Height3D

Returns: float
Modifiers: inline

The size in Z direction, same as member box.SizeZ.

Returns: float

this.Intersection

Full Usage: this.Intersection

Parameters:
Returns: BBox voption
Modifiers: inline

Returns the intersection of two 3D-bounding-boxes. The returned Box is the volume inside both input boxes. Returns ValueNone if the two boxes do not overlap.

a : BBox
Returns: BBox voption

this.IsTouching

Full Usage: this.IsTouching

Parameters:
    a : BBox
    tol : float

Returns: bool

Test if 3D-bounding-boxes are only touching each other from the Outside within a given tolerance.

a : BBox
tol : float
Returns: bool

this.MaxPnt

Full Usage: this.MaxPnt

Returns: Pnt
Modifiers: inline

The point where X, Y and Z are the maximum values.

Returns: Pnt

this.MinPnt

Full Usage: this.MinPnt

Returns: Pnt
Modifiers: inline

The point where X, Y and Z are the minimum values.

Returns: Pnt

this.OverlapsWith

Full Usage: this.OverlapsWith

Parameters:
    a : BBox
    tol : float

Returns: bool
Modifiers: inline

Returns true if the two 3D-bounding-boxes do overlap more than a given tolerance distance. Returns false if the two 3D-bounding-boxes are just touching. Also returns true if one box is completely inside the other. Also returns true if one box is completely surrounding the other.

a : BBox
tol : float
Returns: bool

this.OverlapsWith

Full Usage: this.OverlapsWith

Parameters:
Returns: bool
Modifiers: inline

Returns true if the two 3D-bounding-boxes do overlap or touch. Also returns true if one box is completely inside the other. Also returns true if one box is completely surrounding the other.

a : BBox
Returns: bool

this.Points

Full Usage: this.Points

Returns: Pnt[]
 Returns the bottom corners of this 3D-bounding-box in Counter-Clockwise order, starting at MinPt.
 Then the top corners staring above MinPt. Returns an array of 8 Points.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt[]

this.Pt0

Full Usage: this.Pt0

Returns: Pnt
Modifiers: inline
 Returns point 0 of this 3D-bounding-box, same as member box.MinPnt.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt

this.Pt1

Full Usage: this.Pt1

Returns: Pnt
Modifiers: inline
 Returns point 1 of this 3D-bounding-box.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt

this.Pt2

Full Usage: this.Pt2

Returns: Pnt
Modifiers: inline
 Returns point 2 of this 3D-bounding-box.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt

this.Pt3

Full Usage: this.Pt3

Returns: Pnt
Modifiers: inline
 Returns point 3 of this 3D-bounding-box.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt

this.Pt4

Full Usage: this.Pt4

Returns: Pnt
Modifiers: inline
 Returns point 4 of this 3D-bounding-box.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt

this.Pt5

Full Usage: this.Pt5

Returns: Pnt
Modifiers: inline
 Returns point 5 of this 3D-bounding-box.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt

this.Pt6

Full Usage: this.Pt6

Returns: Pnt
Modifiers: inline
 Returns point 6 of this 3D-bounding-box.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt

this.Pt7

Full Usage: this.Pt7

Returns: Pnt
Modifiers: inline
 Returns point 7 of this 3D-bounding-box.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt

this.SizeX

Full Usage: this.SizeX

Returns: float
Modifiers: inline

The size in X direction, same as member box.Width.

Returns: float

this.SizeY

Full Usage: this.SizeY

Returns: float
Modifiers: inline

The size in Y direction, same as member box.Depth.

Returns: float

this.SizeZ

Full Usage: this.SizeZ

Returns: float
Modifiers: inline

The size in Z direction, same as member box.Height3D.

Returns: float

this.TopPoints

Full Usage: this.TopPoints

Returns: Pnt[]
 Returns the bottom of the Box as a Counter-Clockwise array of 4 Points.
 Staring at point 4 then 5, 6 and 7.
 Last and first point are NOT the same.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt[]

this.TopPointsLooped

Full Usage: this.TopPointsLooped

Returns: Pnt[]
 Returns the bottom of the Box as a Counter-Clockwise array of 5 Points.
 Starting point 4 then 5, 6, 7 and again 4.
 Last and first point are the same.

   Z-Axis       Y-Axis (Depth)
   ^           /
   |   7      /        6 MaxPt
   |   +---------------+
   |  /|    /         /|
   | / |   /         / |
 4 |/  |  /       5 /  |
   +---------------+   |
   |   |/          |   |
   |   +-----------|---+
   |  / 3          |  / 2
   | /             | /
   |/              |/
   +---------------+----> X-Axis (Width)
   0 MinPt         1
Returns: Pnt[]

this.Union

Full Usage: this.Union

Parameters:
Returns: BBox
Modifiers: inline

Returns a bounding 3D-bounding-box that contains the input 3D-bounding-box and the point.

p : Pnt
Returns: BBox

this.Union

Full Usage: this.Union

Parameters:
Returns: BBox
Modifiers: inline

Returns a 3D-bounding-box that contains both input 3D-bounding-box.

a : BBox
Returns: BBox

this.Volume

Full Usage: this.Volume

Returns: float
Modifiers: inline

Returns the volume of this 3D-bounding-box.

Returns: float

this.Width

Full Usage: this.Width

Returns: float
Modifiers: inline

The size in X direction, same as member box.SizeX.

Returns: float

this.asRect

Full Usage: this.asRect

Returns: BRect
Modifiers: inline

Returns the 2D part of this 3D-bounding-box as a bounding rectangle (BRect).

Returns: BRect

Static members

Static member Description

BBox.contains boxInside surroundingBox

Full Usage: BBox.contains boxInside surroundingBox

Parameters:
    boxInside : BBox
    surroundingBox : BBox

Returns: bool
Modifiers: inline

Returns true if the a 3D-bounding-box is inside or exactly on the other bounding Box. Argument order matters!

boxInside : BBox
surroundingBox : BBox
Returns: bool

BBox.containsPnt pt box

Full Usage: BBox.containsPnt pt box

Parameters:
Returns: bool
Modifiers: inline

Returns true if the point is inside or on the a 3D-bounding-box.

pt : Pnt
box : BBox
Returns: bool

BBox.create (a, b)

Full Usage: BBox.create (a, b)

Parameters:
Returns: BBox
Modifiers: inline

Finds min and max values for x, y and z.

a : Pnt
b : Pnt
Returns: BBox

BBox.createFromCenter (center, sizeX, sizeY, sizeZ)

Full Usage: BBox.createFromCenter (center, sizeX, sizeY, sizeZ)

Parameters:
    center : Pnt
    sizeX : float
    sizeY : float
    sizeZ : float

Returns: BBox
Modifiers: inline

Creates a 3D-bounding-box from a center point and the total X, Y and Z size.

center : Pnt
sizeX : float
sizeY : float
sizeZ : float
Returns: BBox

BBox.createFromIList ps

Full Usage: BBox.createFromIList ps

Parameters:
Returns: BBox
Modifiers: inline

Finds min and max values for x, y and z. Creates a 3D-bounding-box from the points.

ps : IList<Pnt>
Returns: BBox

BBox.createFromLine l

Full Usage: BBox.createFromLine l

Parameters:
Returns: BBox
Modifiers: inline
l : Line3D
Returns: BBox

BBox.createFromSeq ps

Full Usage: BBox.createFromSeq ps

Parameters:
Returns: BBox
Modifiers: inline

Finds min and max values for x, y and z. Creates a 3D-bounding-box from the points.

ps : Pnt seq
Returns: BBox

BBox.createUnchecked (minX, minY, minZ, maxX, maxY, maxZ)

Full Usage: BBox.createUnchecked (minX, minY, minZ, maxX, maxY, maxZ)

Parameters:
    minX : float
    minY : float
    minZ : float
    maxX : float
    maxY : float
    maxZ : float

Returns: BBox
Modifiers: inline

Does not verify the order of min and max values.

minX : float
minY : float
minZ : float
maxX : float
maxY : float
maxZ : float
Returns: BBox

BBox.doOverlap a b

Full Usage: BBox.doOverlap a b

Parameters:
Returns: bool
Modifiers: inline

Returns true if the two a 3D-bounding-boxes do overlap or touch exactly. Also returns true if one box is completely inside the other. Also returns true if one box is completely surrounding the other.

a : BBox
b : BBox
Returns: bool

BBox.doOverlapMoreThan tol a b

Full Usage: BBox.doOverlapMoreThan tol a b

Parameters:
Returns: bool
Modifiers: inline

Returns true if the two a 3D-bounding-boxes do overlap more than a given tolerance distance. Returns false if the two a 3D-bounding-boxes are just touching. Also returns true if one box is completely inside the other. Also returns true if one box is completely surrounding the other.

tol : float
a : BBox
b : BBox
Returns: bool

BBox.equals tol a b

Full Usage: BBox.equals tol a b

Parameters:
Returns: bool

Checks if two 3D-bounding-boxes are equal within tolerance. Use a tolerance of 0.0 to check for an exact match.

tol : float
a : BBox
b : BBox
Returns: bool

BBox.expand dist b

Full Usage: BBox.expand dist b

Parameters:
    dist : float
    b : BBox

Returns: BBox

Returns a 3D-bounding-box expanded by distance. Does check for underflow if distance is negative and raises EuclidException.

dist : float
b : BBox
Returns: BBox

BBox.expandSave dist b

Full Usage: BBox.expandSave dist b

Parameters:
    dist : float
    b : BBox

Returns: BBox

Returns a 3D-bounding-box expanded by distance. Does check for underflow if distance is negative and raises EuclidException.

dist : float
b : BBox
Returns: BBox

BBox.expandXaxis startDist endDist b

Full Usage: BBox.expandXaxis startDist endDist b

Parameters:
    startDist : float
    endDist : float
    b : BBox

Returns: BBox

Returns a 3D-bounding-box expanded only in X direction by different distance for start(minX) and end (maxX). Does check for underflow if distance is negative and raises EuclidException.

startDist : float
endDist : float
b : BBox
Returns: BBox

BBox.expandYaxis startDist endDist b

Full Usage: BBox.expandYaxis startDist endDist b

Parameters:
    startDist : float
    endDist : float
    b : BBox

Returns: BBox

Returns a 3D-bounding-box expanded only in Y direction by different distance for start(minY) and end (maxY). Does check for underflow if distance is negative and raises EuclidException.

startDist : float
endDist : float
b : BBox
Returns: BBox

BBox.expandZaxis startDist endDist b

Full Usage: BBox.expandZaxis startDist endDist b

Parameters:
    startDist : float
    endDist : float
    b : BBox

Returns: BBox

Returns a 3D-bounding-box expanded only in Z direction by different distance for start(minZ) and end (maxZ). Does check for underflow if distance is negative and raises EuclidException.

startDist : float
endDist : float
b : BBox
Returns: BBox

BBox.intersection a b

Full Usage: BBox.intersection a b

Parameters:
Returns: BBox voption
Modifiers: inline

Returns the intersection of two a 3D-bounding-boxes. The returned Box is the volume inside both input boxes. Returns ValueNone if the two boxes do not overlap.

a : BBox
b : BBox
Returns: BBox voption

BBox.move v b

Full Usage: BBox.move v b

Parameters:
Returns: BBox

Returns a 3D-bounding-box moved by a vector.

v : Vec
b : BBox
Returns: BBox

BBox.notEquals tol a b

Full Usage: BBox.notEquals tol a b

Parameters:
Returns: bool

Check if two 3D-bounding-boxes are not equal within a given tolerance. Use a tolerance of 0.0 to check if the two 3D-bounding-boxes are not exactly equal.

tol : float
a : BBox
b : BBox
Returns: bool

BBox.toRect b

Full Usage: BBox.toRect b

Parameters:
Returns: BRect
Modifiers: inline

Returns the 2D part of a 3D-bounding-box as a bounding rectangle.

b : BBox
Returns: BRect

BBox.union a b

Full Usage: BBox.union a b

Parameters:
Returns: BBox
Modifiers: inline

Returns a 3D-bounding-box that contains both input a 3D-bounding-box.

a : BBox
b : BBox
Returns: BBox

BBox.unionPt p b

Full Usage: BBox.unionPt p b

Parameters:
Returns: BBox
Modifiers: inline

Returns a bounding a 3D-bounding-box that contains the input a 3D-bounding-box and the point.

p : Pnt
b : BBox
Returns: BBox

BBox.volume b

Full Usage: BBox.volume b

Parameters:
Returns: float
Modifiers: inline

Returns the volume of the a 3D-bounding-box.

b : BBox
Returns: float

Type something to start searching.