Back to Adaptive Vision Library website

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

MillimetresToPixels


Header: STD.h
Namespace: avl
Module: FoundationLite

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

Syntax

void avl::MillimetresToPixels
(
	float inMillimetres,
	float inScale,
	float& outPixels
)

Parameters

Name Type Default Description
Input value
inMillimetres float
Input value
inScale float px / mm
Output value
outPixels float&