Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 is currently offline  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
 
Read Message
Previous Topic: Linking to a .net DLL ?
Goto Forum:
  


Current Time: Fri Jul 18 11:29:34 CEST 2025

Total time taken to generate the page: 0.04000 seconds