Back to FabImage Library website

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

SplitSegment


Header:FIL.h
Namespace:fil

Splits a segment into several parts of equal length.

Syntax

C++
C#
 
void fil::SplitSegment
(
	const fil::Segment2D& inSegment,
	const int inCount,
	ftl::Array<fil::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>&