Back to Aurora Vision Library website
You are here: Start » Function Reference » Surface » Surface Basics » ProjectPointOntoSurface
ProjectPointOntoSurface
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DStandard |
Returns an interpolated single point of a surface given its coordinates in surface coordinate system.
Syntax
C++
C#
void avl::ProjectPointOntoSurface ( const avl::Surface& inSurface, const avl::Point2D& inPoint, int inInterpolationRadius, atl::Optional<avl::Point3D&> outSurfaceRealPoint = atl::NIL, atl::Optional<avl::Point2D&> outSurfaceGridPoint = atl::NIL )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSurface | const Surface& | Input surface | |||
inPoint | const Point2D& | Coordinates of the input point in surface coordinate system | |||
inInterpolationRadius | int | 0 - 65535 | 0 | Radius of vicinity being taken into account to interpolate not existing point | |
outSurfaceRealPoint | Optional<Point3D&> | NIL | Output point in surface coordinate system | ||
outSurfaceGridPoint | Optional<Point2D&> | NIL | Output point in surface grid coordinate system |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outSurfaceRealPoint, outSurfaceGridPoint.
Read more about Optional Outputs.