Back to Adaptive Vision Library website

You are here: Start » Function Reference » Format » FormatPoint3DToString


Header: AVL.h
Namespace: avl
Module: FoundationLite

Converts a 3D point to a string of format "(X, Y, Z)".


void avl::FormatPoint3DToString
	const avl::Point3D& inPoint,
	const int inIntegerDigitCount,
	const int inFractionalDigitCount,
	const atl::String& inDecimalMark,
	const atl::String& inTrailingCharacter,
	const bool inForceSignPrinting,
	const atl::String& inSuffix,
	const bool inPrintBrackets,
	atl::String& outString


Name Type Range Default Description
inPoint const Point3D&
inIntegerDigitCount const int 0 - How many characters the integer part of the coordinates should have at least
inFractionalDigitCount const int 0 - 100 3 How many characters the fractional part of the coordinates should have
inDecimalMark const String& \".\" The symbol used to separate the integer part from the fractional part of the coordinates
inTrailingCharacter const String& \"0\" Defines the trailing character
inForceSignPrinting const bool False Forces printing the signs of the numbers even if the number is positive
inSuffix const String& \"\" Defines a suffix. Generally it is an unit of value (e.g. mm)
inPrintBrackets const bool True Determines whether the brackets should be printed or not
outString String&