You are here: Start » AVL.NET » AVL.RescaleCircle3D
Changes radius of a circle in 3D and translates its center in relation to a reference point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RescaleCircle3D ( AvlNet.Circle3D inCircle3D, AvlNet.Point3D? inReferencePoint, float inScale, bool inInverse, out AvlNet.Circle3D outCircle3D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inCircle3D | AvlNet.Circle3D | ||||
inReferencePoint | AvlNet.Point3D? | The point to which the distance of the circle center is changed (circle center by default). Default value: atl::NIL. | |||
inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | ||
inInverse | bool | Switches to the inverse operation. | |||
outCircle3D | AvlNet.Circle3D |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inScale cannot be zero in an inverse scaling in RescaleCircle3D. |