You are here: Start » AVL.NET » AVS.TrimLineToRectangle Method

AVS.TrimLineToRectangle Method

Creates a segment contained in a rectangle from a line.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void TrimLineToRectangle
(
	AvlNet.Line2D inLine,
	AvlNet.Rectangle2D inRectangle,
	out AvlNet.Segment2D? outSegment
)

Parameters

Name Type Range Default Description
inLineAvlNet.Line2D
inRectangleAvlNet.Rectangle2DRectangle defining a region the input line will be cropped to.
outSegmentAvlNet.Segment2D?

See also