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.
Categories
Computer Aided Instruction (CAI)License
Public DomainOther Useful Business Software
Earn up to 16% annual interest with Nexo.
Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform.
Geographic restrictions, eligibility, and terms apply.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of LineDDA!