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