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

AVL.RescalePlane

Changes the input plane distance to a reference point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RescalePlane
(
	AvlNet.Plane3D inPlane,
	AvlNet.Point3D inReferencePoint,
	float inScale,
	bool inInverse,
	out AvlNet.Plane3D outPlane
)

Parameters

Name Type Range Default Description
inPlaneAvlNet.Plane3D
inReferencePointAvlNet.Point3DThe point to which the distance of plane is changed.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outPlaneAvlNet.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.

See also