BoundingBox.Merge
Contents
[
Hide
]Merge(Vector4)
Merge current bounding box with given point
public void Merge(Vector4 pt)
Parameter | Type | Description |
---|---|---|
pt | Vector4 | The point to be merged into the bounding box |
Examples
The following code shows how to merge a point to bounding box.
var boundingBox = BoundingBox.Null;
boundingBox.Merge(new Vector4(1, 10, -1));
Console.WriteLine("Bounding box = " + boundingBox);
See Also
- struct Vector4
- struct BoundingBox
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
Merge(Vector3)
Merge current bounding box with given point
public void Merge(Vector3 pt)
Parameter | Type | Description |
---|---|---|
pt | Vector3 | The point to be merged into the bounding box |
Examples
The following code shows how to merge a point to bounding box.
var boundingBox = BoundingBox.Null;
boundingBox.Merge(new Vector3(1, 10, -1));
Console.WriteLine("Bounding box = " + boundingBox);
See Also
- struct Vector3
- struct BoundingBox
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
Merge(double, double, double)
Merge current bounding box with given point
public void Merge(double x, double y, double z)
Parameter | Type | Description |
---|---|---|
x | Double | The point to be merged into the bounding box |
y | Double | The point to be merged into the bounding box |
z | Double | The point to be merged into the bounding box |
Examples
The following code shows how to merge a point to bounding box.
var boundingBox = BoundingBox.Null;
boundingBox.Merge(1, 10, -1);
Console.WriteLine("Bounding box = " + boundingBox);
See Also
- struct BoundingBox
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D
Merge(BoundingBox)
Merges the new box into the current bounding box.
public void Merge(BoundingBox bb)
Parameter | Type | Description |
---|---|---|
bb | BoundingBox |
See Also
- struct BoundingBox
- namespace Aspose.ThreeD.Utilities
- assembly Aspose.3D