Back to Aurora Vision Library website

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

RescalePlane


Header: AVL.h
Namespace: avl
Module: Vision3DLite

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
Input value inPlane const Plane3D&
Input value inReferencePoint const Point3D& The point to which the distance of plane is changed
Input value inScale float 1.0f Scaling factor
Input value inInverse bool Switches to the inverse operation
Output value outPlane Plane3D&

In-place Processing

This function supports in-place data processing - you can pass the same reference to inPlane and outPlane

Read more about In-place Computation.

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.