Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Geom/Geometry.h Crosses with Point
Geom/Geometry.h Crosses with Point [message #61725] |
Thu, 03 July 2025 18:17 |
Didier
Messages: 736 Registered: November 2008 Location: France
|
Contributor |
|
|
Hello,
Would it be possible to have 'int' version for the following functions ?
bool Crosses (const Rectf& R, Pointf A, Pointf B);
bool Crosses (const Rectf& R, Pointf A, Pointf B, double bulge);
bool Crosses (const Rectf& R, Pointf C, double radius);
==> Add (or a template version that converts int to float version ?)
bool Crosses (const Rect& R, Point A, Point B); <== the main one I need :)
bool Crosses (const Rect& R, Point A, Point B, int bulge);
bool Crosses (const Rect& R, Point C, int radius);
I added the int version in my code, but it would be better to have them available for all
|
|
|
Goto Forum:
Current Time: Fri Jul 18 03:43:08 CEST 2025
Total time taken to generate the page: 0.03988 seconds
|