Back to Adaptive Vision Library website

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

RescalePoint3DArray


Header:AVL.h
Namespace:avl

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
inPoints3D const Array<Point3D>&
inReferencePoint const Point3D& Point to which the distances will be changed
inScale float 1.0f Scaling factor
inInverse bool Switches to the inverse operation
outPoints3D Array<Point3D>&

Errors

List of possible exceptions:

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