You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » AVL.RescaleBox3D

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
inBox3DAvlNet.Box3D
inReferencePointAvlNet.Point3DPoint to which the distances will be changed.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outBox3DAvlNet.Box3D

Errors

List of possible exceptions:

Error type Description
DomainError Scale cannot be zero in an inverse rescaling of a box in RescaleBox3D.

See also