common

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2020 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoundingBox

type BoundingBox struct {
	Min Coordinate `json:"min"`
	Max Coordinate `json:"max"`
}

BoundingBox ***

func NewBoundingBox

func NewBoundingBox() *BoundingBox

NewBoundingBox ***

type Coordinate

type Coordinate struct {
	X float64 `json:"x"`
	Y float64 `json:"y"`
	Z float64 `json:"z"`
}

Coordinate ***

func NewCoordinate

func NewCoordinate(x, y, z float64) *Coordinate

NewCoordinate ***

func (*Coordinate) Equals

func (o *Coordinate) Equals(d *Coordinate) bool

Equals ***

func (*Coordinate) ToString

func (o *Coordinate) ToString() string

ToString get the string

type TreeNode

type TreeNode struct {
	ID           string `json:"id"`
	Type         string `json:"type"`
	Name         string `json:"name"`
	ActualName   string `json:"actualName"`
	Data         string `json:"data,omitempty"`
	ElementCount int64  `json:"elementCount"`
	Items        []TreeNode
}

TreeNode ***

func NewTreeNode

func NewTreeNode() *TreeNode

NewTreeNode ***

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL