Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » CircleSection
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Computes an arciform section of the circle perimeter.
Syntax
C++
C#
void fil::CircleSection ( const fil::Circle2D& inCircle, float inStartAngle, float inSweepAngle, fil::Arc2D& outArc )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inCircle | const Circle2D& | Input circle | |
![]() |
inStartAngle | float | Direction at which the arc begins | |
![]() |
inSweepAngle | float | Angular length of the arc (may be negative) | |
![]() |
outArc | Arc2D& |
Examples
![]() |
![]() |
CircleSection performed on the sample circle, inStartAngle = 20.0 and inSweepAngle = 110.0.