Back to Adaptive Vision Library website

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

RescalePoint3DGrid


Changes the distances of grid points to a reference point.

Syntax

C++
C#
 
void avl::RescalePoint3DGrid
(
	const avl::Point3DGrid& inGrid,
	const avl::Point3D& inReferencePoint,
	float inScale,
	bool inInverse,
	avl::Point3DGrid& outGrid
)

Parameters

Name Type Default Description
inGrid const Point3DGrid&
inReferencePoint const Point3D& Point to which the distances will be changed
inScale float 1.0f Scaling factor
inInverse bool Switches to the inverse operation
outGrid Point3DGrid&