You are here: Start » AVL.NET » Invoke.RescaleSegment3D

Invoke.RescaleSegment3D

Lengthens or shortens a segment in 3D relatively.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void RescaleSegment3D
(
	Avl.Segment3D inSegment3D,
	Optional<Avl.Point3D> inReferencePoint,
	float inScale,
	bool inInverse,
	out Avl.Segment3D outSegment3D
)

Parameters

Name Type Range Default Description
inSegment3DAvl.Segment3DInput segment in 3D.
inReferencePointAtl.Optional<Avl.Point3D>The point to which all distances change linearly (the mass center by default). Default value: atl::NIL.
inScalefloat1.0fScaling factor (negative values invert the segment). Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outSegment3DAvl.Segment3D

See also