In this tutorial, I tested a collinear function for three points.
I also recapitulated access to the method and class without using lambda expression with this calculation method.
The example contains two classes. A class is simple for recapitulating knowledge and can be tested by commenting and uncommenting the source code.
The other class calculates the collinearity by the area method.
Here is the commented source code for a better understanding.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translate »