Back to Adaptive Vision Library website

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

RescalePoint3D


Changes the distance of a point to a reference point.

Syntax

C++
C#
 
void avl::RescalePoint3D
(
	const avl::Point3D& inPoint3D,
	const avl::Point3D& inReferencePoint,
	float inScale,
	bool inInverse,
	avl::Point3D& outPoint3D
)

Parameters

Name Type Default Description
inPoint3D const Point3D&
inReferencePoint const Point3D& Point to which the distance will be changed
inScale float 1.0f Scaling factor
inInverse bool Switches to the inverse operation
outPoint3D Point3D&