acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
_aaa_geometry2d.h
1// Created by camilo on 2022-11-08 16:17 <3ThomasBorregaardSorensen!!
2#pragma once
3
4
5//
6//
7//using line = ::f64_line;
8//
9//
10//using line = ::f64_line;
11//using rectangle = ::f64_rectangle;
12//using ellipse = ::f64_ellipse;
13
14
15
16#include "../_function.h"
17
18
19#include "../angle.h"
20#include "../line.h"
21#include "../point.h"
22#include "../size.h"
23#include "../arc.h"
24#include "../rectangle.h"
25#include "../shift.h"
26#include "../ellipse.h"
27
28
29#include "../_function_impl.h"
30
31
32
33
34
35//inline auto left(const ::i32_rectangle& rectangle) { return rectangle.left; }
36//inline auto top(const ::i32_rectangle& rectangle) { return rectangle.top; }
37//inline auto left(const ::i64_rectangle& rectangle) { return rectangle.left; }
38//inline auto top(const ::i64_rectangle& rectangle) { return rectangle.top; }
39//inline auto left(const ::f32_rectangle& rectangle) { return rectangle.left; }
40//inline auto top(const ::f32_rectangle& rectangle) { return rectangle.top; }
41//inline auto left(const ::f64_rectangle& rectangle) { return rectangle.left; }
42//inline auto top(const ::f64_rectangle& rectangle) { return rectangle.top; }
43
44
45
46//template < raw_primitive_point RAW_PRIMITIVE_POINT, prototype_point PRIMITIVE_POINT >
47//inline void copy(RAW_PRIMITIVE_POINT& rawprimitivepoint, const PRIMITIVE_POINT & prototypepoint)
48//{
49//
50// rawprimitivepoint.x = (decltype(rawprimitivepoint.x))prototypepoint.x;
51// rawprimitivepoint.y = (decltype(rawprimitivepoint.y))prototypepoint.y;
52//
53//}
54
55
56
57
58