You are here: Start » FIL.NET » FIS.RescaleSegment Method

FIS.RescaleSegment Method

Lengthens or shortens a segment relatively.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void RescaleSegment
(
	FilNet.Segment2D inSegment,
	FilNet.Point2D? inReferencePoint,
	float inScale,
	bool inInverse,
	out FilNet.Segment2D outSegment
)

Parameters

Name Type Range Default Description
inSegmentFilNet.Segment2D
inReferencePointFilNet.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.
outSegmentFilNet.Segment2D

Function Overrides

See also