Here is a nice little class we can use to enumerate each and every point on a line. We are using the Digital Differential Analyzer (DDA) approach.

The idea of drawing a simple line is well supported by just about every graphical framework. What is less sure is the ability to enumerate through a set of points so as to choose just which points we are interested in.

LineDDA also graphically demonstrates support for Positive Slope, Negative Slope, Zero and No Slope.

Source code included in archive / jar.

Project Samples

Project Activity

See All Activity >

License

Public Domain

Follow LineDDA

LineDDA Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LineDDA!

Additional Project Details

Languages

English

Intended Audience

Education

User Interface

Java Swing

Programming Language

Java

Related Categories

Java Computer Aided Instruction (CAI) Software

Registered

2015-03-01