public void SetLocation(Point p) { this.x = p.GetX(); this.y = p.GetY(); }
public void SetLocation(Point p) { this.x = p.GetX(); this.y = p.GetY(); }
public float PtSegDistSq(Point pt) { return PtSegDistSq(GetX1(), GetY1(), GetX2(), GetY2(), pt.GetX(), pt.GetY()); }
public float PtLineDistSq(Point pt) { return(PtLineDistSq(GetX1(), GetY1(), GetX2(), GetY2(), pt.GetX(), pt.GetY())); }
public float PtLineDist(Point pt) { return PtLineDist(GetX1(), GetY1(), GetX2(), GetY2(), pt.GetX(), pt.GetY()); }