Package | Description |
---|---|
pythagoras.f |
The Pythagoras geometry utility classes specialized on
float . |
Modifier and Type | Class and Description |
---|---|
class |
Box
An axis-aligned box.
|
Modifier and Type | Method and Description |
---|---|
Box |
IBox.add(IBox other)
Expands this box to include the bounds of another box.
|
Box |
Box.add(IBox other) |
Box |
IBox.add(IBox other,
Box result)
Expands this box to include the bounds of another box, placing the result in the object
provided.
|
Box |
Box.add(IBox other,
Box result) |
Box |
Box.addLocal(IBox other)
Expands this box to include the bounds of another box.
|
boolean |
IBox.contains(IBox other)
Determines whether this box completely contains the specified box.
|
boolean |
Box.contains(IBox other) |
float |
IBox.extentDistance(IBox other)
Returns the sum of the Manhattan distances between the extents of this box and the
specified other box.
|
float |
Box.extentDistance(IBox other) |
Box |
IBox.intersect(IBox other)
Finds the intersection between this box and another box.
|
Box |
Box.intersect(IBox other) |
Box |
IBox.intersect(IBox other,
Box result)
Finds the intersection between this box and another box and places the result in the
provided object.
|
Box |
Box.intersect(IBox other,
Box result) |
Box |
Box.intersectLocal(IBox other)
Finds the intersection between this box and another box and places the result in this box.
|
boolean |
IBox.intersects(IBox other)
Determines whether this box intersects the specified other box.
|
boolean |
Box.intersects(IBox other) |
Box |
Box.set(IBox other)
Copies the parameters of another box.
|
Constructor and Description |
---|
Box(IBox other)
Copy constructor.
|
Copyright © 2017. All rights reserved.