Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java API
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
Other JSE/JEE APIs
find a point on a line
mark smith
Ranch Hand
Posts: 264
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi
i have two point p1, p2
i draw a line with theses points
is there a way to draw a perpendicular line a x pixels or y % of p1... this point should be on the line
thanks
Ulf Dittmer
Rancher
Posts: 43081
77
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Does this help?
http://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
David Newton
Author
Posts: 12617
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This takes me back to my computer graphics class, so very long ago :/
*sigh*
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
finding closest point
PathIterator
flicker in my program
calling paint from another class
Line delete problem in jpanel on mouse clicked
More...