Documentation ¶
Index ¶
- func Distance(b1 *Vector, b2 *Vector) float64
- func FindRotation(s1 *Scanner, s2 *Scanner) (mat.Matrix, [][]*Vector)
- func FindTransform(v0 *Vector, v1 *Vector) (mat.Matrix, bool)
- func Main()
- func TraverseScannerTree(seen mapset.Set, node *ScannerNode)
- func VectorPairs(s1 *Scanner, s2 *Scanner) [][][]*Vector
- type Scanner
- type ScannerNode
- type Vector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindTransform ¶
Find the orientation vector and rotation matrix from v1 -> v0
func TraverseScannerTree ¶
func TraverseScannerTree(seen mapset.Set, node *ScannerNode)
func VectorPairs ¶
Types ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func (*Scanner) VectorDistances ¶
type ScannerNode ¶
type ScannerNode struct {
// contains filtered or unexported fields
}
func BuildScannerTree ¶
func BuildScannerTree(scanners []*Scanner, graph map[string][]string) *ScannerNode
type Vector ¶
type Vector struct {
// contains filtered or unexported fields
}
func (*Vector) ToMatrixVector ¶
Click to show internal directories.
Click to hide internal directories.