Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Surface Basics »
ArrangePoint3DGrid
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
)
void ArrangePoint3DGrid
(
Point3DGrid inPoint3DGrid,
double? inMinX,
double? inMaxX,
double? inMinY,
double? inMaxY,
double inZOffset,
double inZScale,
PlainType inPointType,
out Surface outSurface,
out double? outMinX,
out double? outMinY
)
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 |
|
Errors
Error type |
Description |
DomainError |
Empty point array in ArrangePoint3DGrid. |
DomainError |
Incorrect coordinate limits in ArrangePoint3DGrid. |
DomainError |
Surface dimensions too big in ArrangePoint3DGrid. |