Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 3D Basics » ArrangePoint3DArray
ArrangePoint3DArray
Creates a point 3D grid structure from Point3D array taking into account X and Y coordinates.
Syntax
C++
C#
void avl::ArrangePoint3DArray ( const atl::Array<avl::Point3D>& inPoints, atl::Optional<atl::real> inMinX, atl::Optional<atl::real> inMaxX, atl::real inStepX, atl::Optional<atl::real> inMinY, atl::Optional<atl::real> inMaxY, atl::real inStepY, avl::Point3DGrid& outPoint3DGrid, atl::Optional<atl::real&> outMinX = atl::NIL, atl::Optional<atl::real&> outMinY = atl::NIL )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inPoints | const Array<Point3D>& | |||
![]() |
inMinX | Optional<real> | NIL | ||
![]() |
inMaxX | Optional<real> | NIL | ||
![]() |
inStepX | real | 0.01 - ![]() |
1.0f | |
![]() |
inMinY | Optional<real> | NIL | ||
![]() |
inMaxY | Optional<real> | NIL | ||
![]() |
inStepY | real | 0.01 - ![]() |
1.0f | |
![]() |
outPoint3DGrid | Point3DGrid& | |||
![]() |
outMinX | Optional<real&> | NIL | ||
![]() |
outMinY | Optional<real&> | NIL |
Errors
| Error type | Description |
|---|---|
| DomainError | Empty point array in ArrangePoint3DArray. |
| DomainError | Incorrect coordinate limits in ArrangePoint3DArray. |
| DomainError | Grid dimensions too big in ArrangePoint3DArray. |



