Back to Adaptive Vision Library website

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

RescalePlane


Header:AVL.h
Namespace:avl

Changes the input plane distance to a reference point.

Syntax

C++
C#
 
void avl::RescalePlane
(
	const avl::Plane3D& inPlane,
	const avl::Point3D& inReferencePoint,
	float inScale,
	bool inInverse,
	avl::Plane3D& outPlane
)

Parameters

Name Type Default Description
inPlane const Plane3D&
inReferencePoint const Point3D& The point to which the distance of plane is changed
inScale float 1.0f Scaling factor
inInverse bool Switches to the inverse operation
outPlane Plane3D&

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in RescalePlane.
DomainError Scale cannot be zero in an inverse rescaling of a plane in RescalePlane.