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

AVL.ResizeBox3D

Changes the dimensions of a box in 3D.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ResizeBox3D
(
	AvlNet.Box3D inBox3D,
	AvlNet.Anchor3D inAnchor,
	float? inNewXLength,
	float? inNewYLength,
	float? inNewZLength,
	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.
inNewXLengthfloat?<0.0f, INF>Target length of the box in x-coordinate. Default value: atl::NIL.
inNewYLengthfloat?<0.0f, INF>Target length of the box in y-coordinate. Default value: atl::NIL.
inNewZLengthfloat?<0.0f, INF>Target length of the box in z-coordinate. Default value: atl::NIL.
outBox3DAvlNet.Box3DResized box.

Function Overrides

See also