Loading [MathJax]/extensions/tex2jax.js

You are here: Start » FIL.NET » Invoke.RescaleSegment

Invoke.RescaleSegment

Lengthens or shortens a segment relatively.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void RescaleSegment
(
	Fil.Segment2D inSegment,
	Optional<Fil.Point2D> inReferencePoint,
	float inScale,
	bool inInverse,
	out Fil.Segment2D outSegment
)

Parameters

Name Type Range Default Description
inSegmentFil.Segment2D
inReferencePointFtl.Optional<Fil.Point2D>The point to which all distances change linearly (the mass center by default). Default value: ftl::NIL.
inScalefloat1.0fScaling factor (negative values invert the segment). Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outSegmentFil.Segment2D

See also