Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Spatial Transforms » SplitSegment

SplitSegment


Header:AVL.h
Namespace:avl

Splits a segment into several parts of equal length.

Syntax

C++
C#
 
void avl::SplitSegment
(
	const avl::Segment2D& inSegment,
	const int inCount,
	atl::Array<avl::Segment2D>& outSegments
)

Parameters

Name Type Range Default Description
inSegment const Segment2D&
inCount const int 1 - 2 Number of segments after segment split
outSegments Array<Segment2D>&