Polish classes in Tools2D

This commit is contained in:
Tomas Pavlicek
2019-09-23 09:27:17 +02:00
committed by wmayer
parent 3e2f835d8e
commit cdb978efee
2 changed files with 241 additions and 115 deletions

View File

@@ -165,13 +165,6 @@ bool BoundBox2d::Intersect(const Polygon2d &rclPoly) const
return false;
}
bool BoundBox2d::Contains (const Vector2d &rclV) const
{
return
(rclV.x >= MinX) && (rclV.x <= MaxX) &&
(rclV.y >= MinY) && (rclV.y <= MaxY);
}
/********************************************************/
/** LINE2D **********************************************/