|
|
On 06/06/2020 05:12, Tor Olav Kristensen wrote:
> #declare vC = vcross(p2 - p1, p3 - p1);
>
>
> Now if vlength(vC) <= Nil, then the points are in line or almost in line.
Wholeheartedly agree.
If cross product of two vectors is null, the points are aligned.
Just be careful about 'null' value.
--
Kurtz le pirate
Compagnie de la Banquise
Post a reply to this message
|
|