Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Features » RectangleCharacteristicPoints
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Computes rectangle's characteristic points.
Syntax
C++
C#
void fil::RectangleCharacteristicPoints ( const fil::Rectangle2D& inRectangle, ftl::Optional<fil::Point2D&> outTopLeft = ftl::NIL, ftl::Optional<fil::Point2D&> outTopCenter = ftl::NIL, ftl::Optional<fil::Point2D&> outTopRight = ftl::NIL, ftl::Optional<fil::Point2D&> outMiddleLeft = ftl::NIL, ftl::Optional<fil::Point2D&> outMiddleCenter = ftl::NIL, ftl::Optional<fil::Point2D&> outMiddleRight = ftl::NIL, ftl::Optional<fil::Point2D&> outBottomLeft = ftl::NIL, ftl::Optional<fil::Point2D&> outBottomCenter = ftl::NIL, ftl::Optional<fil::Point2D&> outBottomRight = ftl::NIL, ftl::Optional<ftl::Array<fil::Point2D>&> outCorners = ftl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inRectangle | const Rectangle2D& | ||
![]() |
outTopLeft | Optional<Point2D&> | NIL | |
![]() |
outTopCenter | Optional<Point2D&> | NIL | |
![]() |
outTopRight | Optional<Point2D&> | NIL | |
![]() |
outMiddleLeft | Optional<Point2D&> | NIL | |
![]() |
outMiddleCenter | Optional<Point2D&> | NIL | |
![]() |
outMiddleRight | Optional<Point2D&> | NIL | |
![]() |
outBottomLeft | Optional<Point2D&> | NIL | |
![]() |
outBottomCenter | Optional<Point2D&> | NIL | |
![]() |
outBottomRight | Optional<Point2D&> | NIL | |
![]() |
outCorners | Optional<Array<Point2D>&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value ftl::NIL
to these parameters: outTopLeft, outTopCenter, outTopRight, outMiddleLeft, outMiddleCenter, outMiddleRight, outBottomLeft, outBottomCenter, outBottomRight, outCorners.
Read more about Optional Outputs.