Back to Adaptive Vision Library website

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

MillimetresToPixels


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

Header:STD.h
Namespace:avl

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
inMillimetres float
inScale float px / mm
outPixels float&