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

AVL.ResizeBox3D_Relative

Resizes a box in 3D to relatively defined dimensions.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ResizeBox3D_Relative
(
	AvlNet.Box3D inBox3D,
	AvlNet.Anchor3D inAnchor,
	float inXScale,
	float inYScale,
	float inZScale,
	out AvlNet.Box3D outBox3D
)

Parameters

Name Type Range Default Description
inBox3DAvlNet.Box3DInput box in 3D.
inAnchorAvlNet.Anchor3DPoint of the box in 3D which position will not change.
inXScalefloat<0.0f, INF>1.0fScale factor in X axis. Default value: 1.0f.
inYScalefloat<0.0f, INF>1.0fScale factor in Y axis. Default value: 1.0f.
inZScalefloat<0.0f, INF>1.0fScale factor in Z axis. Default value: 1.0f.
outBox3DAvlNet.Box3DResized box.

See also