Back to FabImage Library website

You are here: Start » Function Reference » Geometry 2D » Geometry 2D Constructions » VectorBetweenPoints

VectorBetweenPoints


Header: FIL.h
Namespace: fil
Module: FoundationLite

Computes a vector representing distance from one point to another.

Syntax

C++
C#
 
void fil::VectorBetweenPoints
(
	const fil::Point2D& inFrom,
	const fil::Point2D& inTo,
	fil::Vector2D& outVector
)

Parameters

Name Type Default Description
Input value inFrom const Point2D&
Input value inTo const Point2D&
Output value outVector Vector2D&

Examples

VectorBetweenPoints performed on two points.