You are here: Start » FIL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » FIL.ResizeSegment3D

FIL.ResizeSegment3D

Lengthens or shortens a segment in 3D to a new length preserving its orientation and center point.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void ResizeSegment3D
(
	FilNet.Segment3D inSegment3D,
	float inNewLength,
	float inAnchor,
	out FilNet.Segment3D outSegment3D
)

Parameters

Name Type Range Default Description
inSegment3DFilNet.Segment3D
inNewLengthfloat<0.0f, INF>1.0fDefault value: 1.0f.
inAnchorfloat<-INF, INF>0.5fAnchor point, 0 means the beginning, 1 means the end of the segment. Default value: 0.5f.
outSegment3DFilNet.Segment3D

See also