classPoint
Attributes
Attributes
x.x
The current x-value of this point.
x.y
The current y-value of this point.
x.z
The current z-value of this point.
Functions
Functions
x.update(x,y,z)
Update coordinates to x,y,z.
x.pdb_print()
Print the three coordinates with PDB spacing. Used to embed the coordinates in the class Atom print function.
x.get_coordinate_list()
Returns a list of three coordinates.
x.get_distance_from(other_point)
Calls x.dist().
x.dist(other_point)
Returns the float distance to the argument Point or Atom or Residue (uses alpha carbon).
x.point_line_distance(p1, p2)
Returns the distance from the perpendicular location on a line between Point (or Atom) objects. If this atom is not between p1 and p2, the function returns -1.
Copyright © 2001