Back to FabImage Library website
You are here: Start » Function Reference » Path » Path Basics » CreateCirclePath
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Creates a closed path containing cocircular, equidistant points.
Syntax
C++
C#
void fil::CreateCirclePath ( const fil::Circle2D& inCircle, int inPointCount, fil::Path& outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inCircle | const Circle2D& | ||||
inPointCount | int | 2 - | 8 | Number of points in the resulting path | |
outPath | Path& | Output path |
Description
The operation produces a closed path that consist of inPointCount equidistant points selected along the inCircle circumference.
Examples
See Also
- CreateSegmentPath – Creates an open path containing collinear, equidistant points.
- CreateArcPath – Creates an open path containing cocircular, equidistant points.