Constructs a new bounding rectangle.
Namespace:
ceometric.ComputationalGeometryAssembly: ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax
| C# |
|---|
public BoundingRectangle( double length, double width, Point center, double rotationAngle ) |
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ length As Double, _ width As Double, _ center As Point, _ rotationAngle As Double _ ) |
| Visual C++ |
|---|
public: BoundingRectangle( double length, double width, Point^ center, double rotationAngle ) |
Parameters
- length
- Type: System..::.Double
The length along the local x-coordinate.
- width
- Type: System..::.Double
The width along the local y-coordinate.
- center
- Type: ceometric.VectorGeometry..::.Point
The location of the center of the bounding rectangle.
- rotationAngle
- Type: System..::.Double
The rotation angle around the center of the bounding rectangle.
Remarks
The center of the bounding rectangle is the intersection point of its diagonals.