You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.TrimLine

FIL.TrimLine

Creates a segment contained in a box from a line.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void TrimLine
(
	FilNet.Line2D inLine,
	FilNet.Box inBox,
	out FilNet.Segment2D? outSegment
)

Parameters

Name Type Range Default Description
inLineFilNet.Line2D
inBoxFilNet.BoxBox defining a region the input line will be cropped to.
outSegmentFilNet.Segment2D?

Examples

TrimLine performed on line and box.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite line on input in TrimLine.

See also