You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
inSurface | AvlNet.Surface | Input surface. | |||
inReferencePoint | AvlNet.Point3D | Point to which the distances will be changed. | |||
inScaleX | float | 1.0f | Scaling factor along X axis. Default value: 1.0f. | ||
inScaleY | float? | Scaling factor along Y axis. Default value: atl::NIL. | |||
inScaleZ | float? | Scaling factor along Z axis. Default value: atl::NIL. | |||
inInverse | bool | Switches to the inverse operation. | |||
outSurface | AvlNet.Surface | Rescaled surface. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Scale cannot be zero in an inverse rescaling. |