FormatPoint3DToString


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

Syntax

C++
Python
 
def FormatPoint3DToString(
	inPoint: Point3D,
	/,
	*,
	inIntegerDigitCount: int = 0,
	inFractionalDigitCount: int = 3,
	inDecimalMark: str = "\".\"",
	inTrailingCharacter: str = "\"0\"",
	inForceSignPrinting: bool = False,
	inSuffix: str = "\"\"",
	inPrintBrackets: bool = True
)
-> outString: str

Parameters

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