You are here: Start » AVL.NET » AVL.RescalePointArray Method
AVL.RescalePointArray Method
Changes the distances of points from an array to a reference point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void RescalePointArray( AvlNet.Point2D[] inPoints, AvlNet.Point2D? inReferencePoint, float inScale, bool inInverse, out AvlNet.Point2D[] outPoints )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | AvlNet.Point2D | ||||
inReferencePoint | AvlNet.Point2D? | Point to which the distances will be changed (the mass center by default). Default value: atl::NIL, or null. | |||
inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | ||
inInverse | bool | Switches to the inverse operation. | |||
outPoints | AvlNet.Point2D |