Back to Adaptive Vision Library website
You are here: Start » Function Reference » Surface Basics » ArrangePoint3DGrid
![](../../img/icon/CreatePointGrid.png)
ArrangePoint3DGrid
Header: | AVL.h |
---|---|
Namespace: | avl |
Creates a surface structure from Point3DGrid taking into account X and Y coordinates.
Syntax
C++
C#
void avl::ArrangePoint3DGrid ( const avl::Point3DGrid& inPoint3DGrid, atl::Optional<double> inMinX, atl::Optional<double> inMaxX, atl::Optional<double> inMinY, atl::Optional<double> inMaxY, const double inZOffset, const double inZScale, const avl::PlainType::Type& inPointType, avl::Surface& outSurface, atl::Optional<double&> outMinX = atl::NIL, atl::Optional<double&> outMinY = atl::NIL )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inPoint3DGrid | const Point3DGrid& | |||
![]() |
inMinX | Optional<double> | NIL | ||
![]() |
inMaxX | Optional<double> | NIL | ||
![]() |
inMinY | Optional<double> | NIL | ||
![]() |
inMaxY | Optional<double> | NIL | ||
![]() |
inZOffset | const double | |||
![]() |
inZScale | const double | 0.000001 - ![]() |
1.0D | |
![]() |
inPointType | const PlainType::Type& | Int16 | Type of single point Z coordinate | |
![]() |
outSurface | Surface& | |||
![]() |
outMinX | Optional<double&> | NIL | ||
![]() |
outMinY | Optional<double&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outSurface, outMinX, outMinY.
Read more about Optional Outputs.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty point array in ArrangePoint3DGrid. |
DomainError | Incorrect coordinate limits in ArrangePoint3DGrid. |
DomainError | Surface dimensions too big in ArrangePoint3DGrid. |