Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Determine if a set of Point_3 is linear

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Determine if a set of Point_3 is linear


Chronological Thread 
  • From: Arash Partow <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Determine if a set of Point_3 is linear
  • Date: Thu, 05 Apr 2012 09:38:03 +1000



sgdimitris
<>
wrote:

>To make my question more clear, I mean if the given Points are in one
>line?
>for example the points
>(1,1,1)
>(2,2,2)
>(3,3,3)
>(4,4,4)
>are in one line
>The points
>(1,1,1)
>(2,3,4)
>(3,2,1)
>(9,2,3)
>are not in one line
>
>

Randomly select 2 points from your set define a line l, then see if all the
other points in the set are collinear to l.








Archive powered by MHonArc 2.6.16.

Top of Page