Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 3D Basics » ArrangePoint3DArray

ArrangePoint3DArray


Creates a surface 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<double> inMinX,
	atl::Optional<double> inMaxX,
	const double inXScale,
	atl::Optional<double> inMinY,
	atl::Optional<double> inMaxY,
	const double inYScale,
	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
inPoints const Array<Point3D>&
inMinX Optional<double> NIL
inMaxX Optional<double> NIL
inXScale const double 0.01 - 1.0D
inMinY Optional<double> NIL
inMaxY Optional<double> NIL
inYScale const double 0.01 - 1.0D
inZOffset const double
inZScale const double 0.01 - 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 ArrangePoint3DArray.
DomainError Incorrect coordinate limits in ArrangePoint3DArray.
DomainError Surface dimensions too big in ArrangePoint3DArray.