Skip to content

Commit 637aab1

Browse files
committed
AOI use distance from InitAOI
1 parent c2f5e42 commit 637aab1

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

XZListAOIManager.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ type XZListAOIManager struct {
1414
zSweepList *yAOIList
1515
}
1616

17+
// NewXZListAOIManager creates a new XZListAOIManager
1718
func NewXZListAOIManager() AOIManager {
1819
return &XZListAOIManager{
1920
xSweepList: newXAOIList(),

aoi.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
package aoi
22

3+
// Coord is the type for coordinate axes values
34
type Coord float32
45

56
type AOI struct {
6-
x Coord
7-
y Coord
8-
dist Coord
9-
Data interface{}
7+
x Coord
8+
y Coord
9+
dist Coord
10+
Data interface{}
1011

1112
callback AOICallback
1213
implData interface{}

0 commit comments

Comments
 (0)