public bool contains_point(point_store the_point) { // find whether the point belongs to the triangle if (the_point.Equals(this._start_pt) == true || the_point.Equals(this._end_pt) == true) { return(true); } return(false); }
public point_store the_other_pt(point_store this_pt) { if (this_pt.Equals(start_pt) == true) { return(end_pt); } else { return(start_pt); } }