Every line of 'check_circle_outline' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
17 export function in_circle(d: vertex, a: vertex, b: vertex, c: vertex): boolean { 18 return (a.x * a.x + a.y * a.y) * triangle_area(b, c, d) - 19 (b.x * b.x + b.y * b.y) * triangle_area(a, c, d) + 20 (c.x * c.x + c.y * c.y) * triangle_area(a, b, d) - 21 (d.x * d.x + d.y * d.y) * triangle_area(a, b, c) > 0; 22 }
57 export function numCirclePoints(lineWidth: number): number { 58 return SECTORS_IN_CIRCLE + 1; 59 }
186 fillCircle(center, radius, color = Config.DEFAULT_FILL_COLOR) { 187 this.ctx.beginPath(); 188 this.ctx.arc(center.x, center.y, Math.max(radius - 0.5, 0), 0, 2 * Math.PI); 189 this.ctx.fillStyle = color; 190 this.ctx.fill(); 191 }