public bool Contains(ref Vector2 pt) { return(Math2d.IsPointInTriangle(ref pt, ref p1, ref p2, ref p3)); }