Back to FabImage Library website
You are here: Start » Function Reference » Region » Region Features » RegionBoundingEllipse_OrNil

RegionBoundingEllipse_OrNil
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Computes the smallest ellipse enclosing a region; returns NIL if the region is empty.
Syntax
C++
C#
void fil::RegionBoundingEllipse_OrNil ( const fil::Region& inRegion, ftl::Conditional<fil::Ellipse2D>& outBoundingEllipse )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inRegion | const Region& | Input region | |
![]() |
outBoundingEllipse | Conditional<Ellipse2D>& |