You are here: Start » AVL.NET » AVL.RescaleBox3D
Changes the distances of box in 3D to a reference point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RescaleBox3D ( AvlNet.Box3D inBox3D, AvlNet.Point3D inReferencePoint, float inScale, bool inInverse, out AvlNet.Box3D outBox3D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inBox3D | AvlNet.Box3D | ||||
inReferencePoint | AvlNet.Point3D | Point to which the distances will be changed. | |||
inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | ||
inInverse | bool | Switches to the inverse operation. | |||
outBox3D | AvlNet.Box3D |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inScale cannot be zero in an inverse rescaling. |