Skip to content

Commit

Permalink
AOI use distance from InitAOI
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaonanln committed Jul 19, 2018
1 parent c2f5e42 commit 637aab1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions XZListAOIManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ type XZListAOIManager struct {
zSweepList *yAOIList
}

// NewXZListAOIManager creates a new XZListAOIManager
func NewXZListAOIManager() AOIManager {
return &XZListAOIManager{
xSweepList: newXAOIList(),
Expand Down
9 changes: 5 additions & 4 deletions aoi.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package aoi

// Coord is the type for coordinate axes values
type Coord float32

type AOI struct {
x Coord
y Coord
dist Coord
Data interface{}
x Coord
y Coord
dist Coord
Data interface{}

callback AOICallback
implData interface{}
Expand Down

0 comments on commit 637aab1

Please sign in to comment.