BoundingBox2D

BoundingBox2D

Overview

BoundingBox2D is a struct in Aspose.3D FOSS for .NET.

BoundingBox2D.BoundingBox2D initializes a new 2‑D bounding box with the specified minimum and maximum vectors.

This struct provides 3 methods for working with BoundingBox2D objects in .NET programs. Available methods include: BoundingBox2D, Merge, ToString. All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package. Properties: Extent, Infinite, Maximum, Minimum, Null.

Properties

NameTypeAccessDescription
ExtentBoundingBoxExtentReadGets the extent.
MinimumVector2ReadGets the minimum.
MaximumVector2ReadGets the maximum.
NullBoundingBox2DReadGets the null.
InfiniteBoundingBox2DReadGets the infinite.

Methods

SignatureDescription
BoundingBox2D(minimum: Vector2, maximum: Vector2)Initializes a new 2‑D bounding box with the specified minimum and maximum vectors
Merge(pt: Vector2)Expands the box to include the given 2‑D point if it lies outside current limits
Merge(bb: BoundingBox2D)
ToString()Returns a textual representation of the box’s minimum and maximum vectors

See Also