3 \page tui_point_coordinates_page Point Coordinates
10 point = geompy.MakeVertex(15., 23., 80.)
12 # get the coordinates of the point and check its values
13 coords = geompy.PointCoordinates(point)
15 # check the obtained coordinate values
17 def IsEqual(val1, val2): return (math.fabs(val1 - val2) < tolerance)
19 if IsEqual(coords[0], 15.) and IsEqual(coords[1], 23.) and IsEqual(coords[2], 80.):
20 print "All values are OK."
22 print "Coordinates of point must be (15, 23, 80), but returned (",
23 print coords[0], ", ", coords[1], ", ", coords[2], ")"