<commit_before>//
//  CGPoint.swift
//  CGMath
//
//  Created by <NAME> on 26/6/18.
//

import CoreGraphics

extension CGPoint {
	
	public init(direction: CGVector, magnitude: CGFloat) {
		let normalized = direction.normalized
		self.init(x: normalized.dx * magnitude, y: normalized.dy * magnitude)
	}
	
	public var asSize: CGSize {
		convert()
	}
	
	public var asVector: CGVector {
		convert()
	}
	
	public var asOffset: UIOffset {
		convert()
	}
	
}<commit_msg>Fixed CGPoint.swift import<commit_after>//
//  CGPoint.swift
//  CGMath
//
//  Created by <NAME> on 26/6/18.
//

import UIKit

extension CGPoint {
	
	public init(direction: CGVector, magnitude: CGFloat) {
		let normalized = direction.normalized
		self.init(x: normalized.dx * magnitude, y: normalized.dy * magnitude)
	}
	
	public var asSize: CGSize {
		convert()
	}
	
	public var asVector: CGVector {
		convert()
	}
	
	public var asOffset: UIOffset {
		convert()
	}
	
}
{'fraction_non_alphanumeric': 0.12339055793991416, 'fraction_numerical': 0.01072961373390558, 'mean_word_length': 3.1283185840707963, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3922613', 'n_tokens_mistral': 368, 'n_tokens_neox': 320, 'n_words': 84}