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,
	float? inScaleY,
	float? inScaleZ,
	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.
inScaleYfloat?Scaling factor along Y axis. Default value: atl::NIL.
inScaleZfloat?Scaling factor along Z axis. Default value: atl::NIL.
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