conversion

package
v0.0.0-...-313f127 Latest Latest
Warning

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

Go to latest
Published: May 6, 2016 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package conversion contains utilities for doing basic type conversion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoxToRect

func BoxToRect(box *vec3.Box) *rtreego.Rect

BoxToRect converts from vec3.Box to rtreego.Rect

func RectToBox

func RectToBox(rect *rtreego.Rect) *vec3.Box

RectToBox converts from rtreego.Rect to vec3.Box.

func SpatialSliceToBoundsSlice

func SpatialSliceToBoundsSlice(objects []rtreego.Spatial) []*vec3.Box

SpatialSliceToBoundsSlice converts from []rtreego.Spatial to []*vec3.Box.

Types

This section is empty.

Jump to

Keyboard shortcuts

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