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

AVL.RescalePoint3DArray

Changes the distances of array points to a reference point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RescalePoint3DArray
(
	IList<AvlNet.Point3D> inPoints3D,
	AvlNet.Point3D inReferencePoint,
	float inScale,
	bool inInverse,
	IList<AvlNet.Point3D> outPoints3D
)

Parameters

Name Type Range Default Description
inPoints3DSystem.Collections.Generic.IList<AvlNet.Point3D>
inReferencePointAvlNet.Point3DPoint to which the distances will be changed.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outPoints3DSystem.Collections.Generic.IList<AvlNet.Point3D>

Hardware Acceleration

This operation is optimized for SSE2 technology.

This operation is optimized for AVX2 technology.

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

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

See also