Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COWhy do you assume that the points are provided in certain order? Also bear in mind that you cannot start analysing angles, as far as any geometrical figure can be generated from equivalent angles. First thing to be analysed is the defining feature of a circle (i.e., all the points at the same distance from the center); the angles can only come into picture at a later stage to determine if it is a whole a circle or a portion of it.
      singulars
    2. COFor checking the last point close enough to the first, I'd suggest that the sum of angles to that point > 340 degrees or similar. Assuming it's a gesture you just want a minimum of a full circle and probably don't care if you exceed it (e.g. 1.5 rotations). @varocarbas the order of points is important if the source of points is a gesture on a touch screen
      singulars
    3. CO@ColinYoung Please, take a look at my answer (CLARIFICATION 2). The order of the points (if any) is EXTREMELY important. I asked VaclavSir why he assumed that there is an order. If an order exists (you are drawing the circle manually), this fact has certainly to be taken care of; if there are a bunch of random points, you cannot bring this issue into account because would drive to wrong results. The OP didn't mention this issue and that's why I don't think that VaclavSir should have taken it into account (or he should have mentioned that his approach cannot be used with random points).
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload