Back to Aurora Vision Library website

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

RescalePoint3DArray


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Changes the distances of array points to a reference point.

Syntax

C++
C#
 
void avl::RescalePoint3DArray
(
	const atl::Array<avl::Point3D>& inPoints3D,
	const avl::Point3D& inReferencePoint,
	float inScale,
	bool inInverse,
	atl::Array<avl::Point3D>& outPoints3D
)

Parameters

Name Type Default Description
Input value inPoints3D const Array<Point3D>&
Input value inReferencePoint const Point3D& Point to which the distances will be changed
Input value inScale float 1.0f Scaling factor
Input value inInverse bool Switches to the inverse operation
Output value outPoints3D Array<Point3D>&

Hardware Acceleration

This operation is optimized for SSE2 technology.

This operation is optimized for AVX2 technology.

This operation is optimized for NEON technology.

Errors

List of possible exceptions:

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