You are here: Start » AVL.NET » Function Reference » Path » Path Basics » AVL.CreateSegmentPath

AVL.CreateSegmentPath

Creates an open path containing collinear, equidistant points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inBeginAvlNet.Point2DFirst point of the path.
inEndAvlNet.Point2DLast point of the path.
inPointCountint<2, INF>2Number of points in the created path. Default value: 2.
outPathAvlNet.PathOutput 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