<commit_before>//
//  Path+Circle.swift
//  PathTools
//
//  Created by <NAME> on 6/11/16.
//
//

import Darwin

extension Path {
    
    // MARK: - Circle
    
    /// - returns: `Path` with a circle shape with the given `radius` and `center`.
    public static func circle(center: Point, radius: Double) -> Path {
        
        // distance from each point to its neighboring control points
        let a = Double(4 * (sqrt(2.0) - 1) / 3)
        
        let elements: [PathElement] = [
            // top
            .move(Point(x: center.x, y: center.y - radius)),<commit_msg>Remove unnecessary Double init<commit_after>//
//  Path+Circle.swift
//  PathTools
//
//  Created by <NAME> on 6/11/16.
//
//

import Darwin

extension Path {
    
    // MARK: - Circle
    
    /// - returns: `Path` with a circle shape with the given `radius` and `center`.
    public static func circle(center: Point, radius: Double) -> Path {
        
        // distance from each point to its neighboring control points
        let a = 4 * (sqrt(2.0) - 1) / 3
        
        let elements: [PathElement] = [
            // top
            .move(Point(x: center.x, y: center.y - radius)),
{'fraction_non_alphanumeric': 0.13593882752761258, 'fraction_numerical': 0.016992353440951572, 'mean_word_length': 1.778301886792453, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6930035', 'n_tokens_mistral': 376, 'n_tokens_neox': 358, 'n_words': 118}