You are here: Start » AVL.NET » Function Reference » Surface » Surface Spatial Transforms » AVL.RescaleSurface

AVL.RescaleSurface

Changes the distances of surface points to a reference point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RescaleSurface
(
	AvlNet.Surface inSurface,
	AvlNet.Point3D inReferencePoint,
	float inScaleX,
	bool inInverse,
	AvlNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inReferencePointAvlNet.Point3DPoint to which the distances will be changed.
inScaleXfloat1.0fScaling factor along X axis. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outSurfaceAvlNet.SurfaceRescaled surface.

Errors

List of possible exceptions:

Error type Description
DomainError Scale cannot be zero in an inverse rescaling in RescaleSurface.

Function Overrides

See also