You are here: Start » AVL.NET » AVL.CreateSegmentPath(AvlNet.Point2D, AvlNet.Point2D, int, AvlNet.Path)

AVL.CreateSegmentPath(AvlNet.Point2D, AvlNet.Point2D, int, AvlNet.Path)

Creates an open path containing collinear, equidistant points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreateSegmentPath(
	AvlNet.Point2D inBegin,
	AvlNet.Point2D inEnd,
	int inPointCount,
	out AvlNet.Path outPath
)

Parameters

inBegin
Type: AvlNet.Point2D
First point of the path
inEnd
Type: AvlNet.Point2D
Last point of the path
inPointCount
Type: System.Int32
Number of points in the created path
outPath
Type: AvlNet.Path
Output path

Description

The operation produces an open path that consist of inPointCount equidistant points selected along the segment between inBegin and inEnd.

Examples

CreateSegmentPath run with inPointCount = 5.

See also