You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » AVL.RescaleCircle3D

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
inCircle3DAvlNet.Circle3D
inReferencePointAvlNet.Point3D?The point to which the distance of the circle center is changed (circle center by default). Default value: atl::NIL.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outCircle3DAvlNet.Circle3D

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite circle on input in RescaleCircle3D.
DomainError Scale cannot be zero in an inverse scaling of a circle in RescaleCircle3D.

Function Overrides

See also