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

AVL.ResizeBox3D_Delta

Changes the dimensions of a box in 3D by adding some values.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ResizeBox3D_Delta
(
	AvlNet.Box3D inBox3D,
	AvlNet.Anchor3D inAnchor,
	float inXLengthDelta,
	float inYLengthDelta,
	float inZLengthDelta,
	out AvlNet.Box3D outBox3D
)

Parameters

Name Type Range Default Description
inBox3DAvlNet.Box3DInput box.
inAnchorAvlNet.Anchor3DPoint of the box in 3D which position will not change.
inXLengthDeltafloat0.0fValue added to length of the box in X axis. Default value: 0.0f.
inYLengthDeltafloat0.0fValue added to length of the box in X axis. Default value: 0.0f.
inZLengthDeltafloat0.0fValue added to length of the box in X axis. Default value: 0.0f.
outBox3DAvlNet.Box3DResized box.

Errors

List of possible exceptions:

Error type Description
DomainError Negative box dimensions in ResizeBox3D_Delta.

See also