Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 3D » Geometry 3D Fitting » AnalyzePoint3DGrid

AnalyzePoint3DGrid


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Analyzes the steps in X and Y directions of a point 3D grid.

Syntax

C++
C#
 
void avl::AnalyzePoint3DGrid
(
	const avl::Point3DGrid& inPointGrid,
	avl::Point3DGridType::Type inPointGridType,
	const avl::ValueLimits& inXLimits,
	const avl::ValueLimits& inYLimits,
	const avl::ValueLimits& inZLimits,
	const float inEpsilonX,
	const float inEpsilonY,
	const float inCoverage,
	double& outScaleX,
	double& outOffsetX,
	double& outScaleY,
	double& outOffsetY
)

Parameters

Name Type Range Default Description
inPointGrid const Point3DGrid&
inPointGridType Point3DGridType::Type
inXLimits const ValueLimits& Limits for the X coordinate
inYLimits const ValueLimits& Limits for the Y coordinate
inZLimits const ValueLimits& Limits for the Z coordinate
inEpsilonX const float 0.0 - 0.0f Maximum possible error in the X direction
inEpsilonY const float 0.0 - Maximum possible error in the Y direction
inCoverage const float 0.0 - 1.0 0.3f Percentage of points that should be taken into account
outScaleX double&
outOffsetX double&
outScaleY double&
outOffsetY double&

Errors

List of possible exceptions:

Error type Description
DomainError Unsupported inPointGridType in AnalyzePoint3DGrid.