package Impl;

import CTL.Annotate.*;

public class TestPoints {

static int pointsin; // Punkte im Kreis
	
	@export public static int testpoints(DoubleVector[] points){
		
		for(int i=0;i<=points.length-1;i++){
			
			double x = points[i].getx();
			double y = points[i].gety();
			
			if ( (x*x + y*y) <= 1) pointsin++;
		}
		
		return pointsin;
	}
}
