473,379 Members | 1,201 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

VerificationProgram0.09 for PointOnLineSegmentIn2D =D

Hi Folks,

As promised I wrote a VerificationProgram in two days to test all kinds of
lines and cases and situations etc,etc,etc for the "PointOnLineSegmentIn2D"
routine ;)

Here are some nice features of the verification program lol:

+Routine/Implementation "source" plug in, via delphi source code.
+Routine/Implementation "binary" plug in, via binary dll's.
+Automated testing of the routine/implementation.
+Verification Chart.
+Speed Chart.
+Verification Failure reports.
+Verification Data "plug in" via text files.
+Automatically Generated Points for verification data/line segments.

All one has to do is write a new implementation and plug it into the
VerificationProgram and voila ;) =D

Since I wrote the program in two days or so it's very crude, but also very
cool =D

It still needs some more verification data line horizontal and vertical
lines etc. Some floating point precision tests could also be added.

Binary implementations(dll's) should go into the "BinaryImplementionPlugIns"
folder. All plugins will be automatically detected and loaded ofcourse
etc,etc,etc. Currently it only contains to delphi example's of dll's so this
folder could also use a few C examples ;). Preferrably for Visual Studio
..Net 2003 (win32) or VC5 ;)

The "VerificationData" folder should contain any verification data files
etc... it also contains an example.

See the source code for more explanations and hints etc ;) and ofcourse
simply watched the program in action to see what it does etc =D (and no it
won't format your harddrive lol =D)

The delphi source code and the binaries can be downloaded from this
website/link in the "junk" folder.

The file is called: VerificationProgramVersion009.zip

https://sourceforge.net/project/show...group_id=53726

Bye,
Skybuck

P.S.: I had lot's of fun writing this and I hope you have some fun with it
too =D

I also would like to thank other people for writing different
implementations. I saw that someone wrote a rational number
implementation... cool =D ;) I haven't had any time yet to really look at it
or test it out etc... it would require a little bit of work probably to make
it suited as a plugin and write a dll for it ;) And later ofcourse it could
be converted to delphi etc.

I also look forward to any other future implementations lol ;)

All in all it was a good programming excercise.... jummy =D
Nov 15 '05 #1
0 818

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

65
by: Skybuck Flying | last post by:
Hi, I needed a method to determine if a point was on a line segment in 2D. So I googled for some help and so far I have evaluated two methods. The first method was only a formula, the second...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.