|
|
Create a bounding box from a min and max point that define the opposite corners of the box
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Sub New ( _ minPoint As Point2D, _ maxPoint As Point2D _ ) |
| C# |
|---|
public BoundingBox2D( Point2D minPoint, Point2D maxPoint ) |
| Visual C++ |
|---|
public: BoundingBox2D( Point2D^ minPoint, Point2D^ maxPoint ) |
Parameters
- minPoint
- Type: Autodesk.Navisworks.Api..::..Point2D
- maxPoint
- Type: Autodesk.Navisworks.Api..::..Point2D
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | Argument 'minPoint' is null |
| System..::..ArgumentException | Argument 'minPoint' has been Disposed |
| System..::..ArgumentOutOfRangeException | A component of minPosition is greater than the corresponding component of maxPosition |
| System..::..ArgumentNullException | Argument 'maxPoint' is null |
| System..::..ArgumentException | Argument 'maxPoint' has been Disposed |