stl

package
v0.0.0-...-d9d02c0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2017 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Facet

type Facet struct {
	Vertices [3]vector.V3
	Normal   vector.V3
}

func (Facet) String

func (f Facet) String() string

type Solid

type Solid struct {
	Facets []Facet
	// contains filtered or unexported fields
}

func Parse

func Parse(r io.Reader) (*Solid, error)

Parse parses a new STL from an io.Reader.

func (*Solid) Bounds

func (s *Solid) Bounds() (min, max vector.V3)

Jump to

Keyboard shortcuts

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