The Expyriment point class
Methods
Initialize a XYPoint.
| Parameters : | x : numeric y : numeric xy : (numeric, numeric)
|
|---|
Notes
use x, y values (two numberic) or the tuple xy=(x,y)
Return euclidian distance to the points (p).
| Parameters : | p : misc.XYPoint
|
|---|---|
| Returns : | dist : float
|
Return true if point is inside a given polygon.
| Parameters : | point_list : list
|
|---|---|
| Returns : | check : bool |
Move the point along the coodinates specified by the vector v.
| Parameters : | v : misc.XYPoint
|
|---|