def formatPoint(point, affine):
<EOL>if affine:<EOL><INDENT>fmt = "<STR_LIT>"<EOL>coords = [point.x, point.y]<EOL><DEDENT>else:<EOL><INDENT>fmt = "<STR_LIT>"<EOL>coords = [point.x, point.y, point.z]<EOL><DEDENT>coordText = map(hexString, coords)<EOL>return fmt.format(*coordText)<EOL>
Retrieves a string representation of @point