Documentation ¶
Index ¶
Constants ¶
View Source
const LARGE_NUMBER = math.MaxInt32
Variables ¶
View Source
var (
ERROR_TRIANGLELIST_ILLEGAL = errors.New("triangle list illegal")
)
Functions ¶
This section is empty.
Types ¶
type BorderList ¶
type BorderList struct {
Indices []int32 // 2pt as border
}
type Dijkstra ¶
type Dijkstra struct {
Matrix map[int32][]WeightedTriangle // all edge for nodes
}
Dijkstra
func (*Dijkstra) CreateMatrixFromMesh ¶
create neighbour matrix
type TriangleHeap ¶
type TriangleHeap struct {
// contains filtered or unexported fields
}
func NewTriangleHeap ¶
func NewTriangleHeap() *TriangleHeap
func (*TriangleHeap) DecreaseKey ¶
func (th *TriangleHeap) DecreaseKey(id int32, weight uint32)
func (*TriangleHeap) Len ¶
func (th *TriangleHeap) Len() int
func (*TriangleHeap) Less ¶
func (th *TriangleHeap) Less(i, j int) bool
func (*TriangleHeap) Pop ¶
func (th *TriangleHeap) Pop() interface{}
func (*TriangleHeap) Push ¶
func (th *TriangleHeap) Push(x interface{})
func (*TriangleHeap) Swap ¶
func (th *TriangleHeap) Swap(i, j int)
type TriangleList ¶
type TriangleList struct { Vertices []Point3 Triangles [][3]int32 // triangles }
type WeightedTriangle ¶
type WeightedTriangle struct {
// contains filtered or unexported fields
}
Triangle Heap
Click to show internal directories.
Click to hide internal directories.