Skip to content

Commit 2f7bf2d

Browse files
Create README.md
1 parent b57e653 commit 2f7bf2d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Geometry
2+
A repository of common geometric algorithms and `CoreGraphics` type extensions.
3+
4+
## Algorithms
5+
At present, the package contains no algorithms.
6+
7+
## `CoreGraphics` Extensions
8+
Geometry defines `CGVectorType` a protocol unifying the various 2D CoreGraphics
9+
types including `CGPoint`, `CGSize`, and `CGVector`. The type provides support for
10+
easy conversion among types.
11+
12+
The type also allows for a concise definition of standard operators for addition,
13+
subtraction, multiplication, and division involving `CGVectorType` types.
14+
15+
Finally, the package includes several extensions to `CGRect`.

0 commit comments

Comments
 (0)