Back to FabImage Library Lite website

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

SkipNotPolygon


Header: FIL.h
Namespace: fil

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

Syntax

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

Parameters

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