Back to FabImage Library website

You are here: Start » Function Reference » Path » Path Basics » SkipNotPolygon

SkipNotPolygon


Header: FIL.h
Namespace: fil
Module: FoundationLite

If the input path is closed and has no self-intersections, then it is copied to the output; otherwise Nil is returned.

Syntax

C++
C#
 
void fil::SkipNotPolygon
(
	const fil::Path& inPath,
	ftl::Conditional<fil::Path>& outPolygon,
	bool& outIsPolygon
)

Parameters

Name Type Default Description
Input value
inPath const Path& Input path
Output value
outPolygon Conditional<Path>&
Output value
outIsPolygon bool&