Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » Box3DToBox2D_AxesPlane

Box3DToBox2D_AxesPlane
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Projects a 3D box onto a plane defined by coordinate axes.
Syntax
C++
C#
void fil::Box3DToBox2D_AxesPlane ( const fil::Box3D& inBox3D, fil::PlaneType::Type inPlaneType, fil::Box& outBox2D, ftl::Optional<fil::Rectangle2D&> outRectangle2D = ftl::NIL, ftl::Optional<fil::Plane3D&> outProjectionPlane = ftl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inBox3D | const Box3D& | ||
![]() |
inPlaneType | PlaneType::Type | ||
![]() |
outBox2D | Box& | ||
![]() |
outRectangle2D | Optional<Rectangle2D&> | NIL | |
![]() |
outProjectionPlane | Optional<Plane3D&> | NIL | Plane the input is projected onto |
Optional Outputs
The computation of following outputs can be switched off by passing value ftl::NIL
to these parameters: outRectangle2D, outProjectionPlane.
Read more about Optional Outputs.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Incorrect plane type. |