Skip to content

Commit 652ff15

Browse files
committed
Update the readme
1 parent d01c827 commit 652ff15

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ use standard library code, the package has been named the same as the standard l
3535

3636
- **`geom`** - Generic geometric primitives including `Point[T]`, `Rect[T]`, `Size[T]`, `Line[T]`, `Matrix[T]`, and `Insets[T]` with type conversion utilities.
3737

38+
- **`geom/poly`** - Provides polygon operations using fixed-point arithmetic for reliable geometric computations.
39+
40+
- **`geom/visibility`** - 2D visibility polygon computation for line-of-sight calculations.
41+
3842
### Data Structures and Collections
3943

4044
- **`collection/bitset`** - Efficient bitset implementation for working with sets of bits.

geom/poly/point.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
"github.com/richardwilkes/toolbox/v2/geom"
1616
)
1717

18+
// Point holds a fixed-point 2D coordinate.
1819
type Point struct {
1920
X Num
2021
Y Num

geom/poly/rect.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313
"github.com/richardwilkes/toolbox/v2/geom"
1414
)
1515

16+
// Rect holds a fixed-point rectangle.
1617
type Rect struct {
1718
Point
1819
Size

geom/poly/size.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
"github.com/richardwilkes/toolbox/v2/geom"
1616
)
1717

18+
// Size holds a fixed-point size.
1819
type Size struct {
1920
Width Num
2021
Height Num

0 commit comments

Comments
 (0)