Back to Aurora Vision Library website

You are here: Start » Function Reference » Basic » Unit Conversions » PixelsToMillimetres

PixelsToMillimetres


Header: STD.h
Namespace: avl
Module: FoundationLite

Converts a length in pixels to millimetres using the given scale [px / mm].

Syntax

void avl::PixelsToMillimetres
(
	float inPixels,
	float inScale,
	float& outMillimetres
)

Parameters

Name Type Default Description
Input value inPixels float
Input value inScale float px / mm
Output value outMillimetres float&