Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Interpolations » AveragePoint

AveragePoint


Header:AVL.h
Namespace:avl

Computes the middle point of two input points.

Syntax

C++
C#
 
void avl::AveragePoint
(
	const avl::Point2D& inPoint1,
	const avl::Point2D& inPoint2,
	avl::Point2D& outPoint
)

Parameters

Name Type Default Description
inPoint1 const Point2D&
inPoint2 const Point2D&
outPoint Point2D&

Examples

AveragePoint performed on two points.