Back to FabImage Library website

You are here: Start » Function Reference » Point3DGrid Spatial Transforms » RescalePoint3DGrid

RescalePoint3DGrid


Header:FIL.h
Namespace:fil

Changes the distances of grid points to a reference point.

Syntax

C++
C#
 
void fil::RescalePoint3DGrid
(
	const fil::Point3DGrid& inGrid,
	const fil::Point3D& inReferencePoint,
	float inScale,
	bool inInverse,
	fil::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&