ply

package
v0.0.0-...-bdc3219 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToMesh

func ToMesh(in io.Reader) (*mesh.Mesh, error)

Types

type AsciiReader

type AsciiReader struct {
	// contains filtered or unexported fields
}

func (*AsciiReader) ReadMesh

func (ar *AsciiReader) ReadMesh() (*mesh.Mesh, error)

type Element

type Element struct {
	// contains filtered or unexported fields
}

type Format

type Format int64
const (
	ASCII Format = iota
	Binary
)

type ListProperty

type ListProperty struct {
	// contains filtered or unexported fields
}

func (ListProperty) Name

func (lp ListProperty) Name() string

type Property

type Property interface {
	Name() string
}

type ScalarProperty

type ScalarProperty struct {
	Type ScalarPropertyType
	// contains filtered or unexported fields
}

func (ScalarProperty) Name

func (sp ScalarProperty) Name() string

type ScalarPropertyType

type ScalarPropertyType string
const (
	Char   ScalarPropertyType = "char"
	UChar  ScalarPropertyType = "uchar"
	Short  ScalarPropertyType = "Short"
	Ushort ScalarPropertyType = "ushort"
	Int    ScalarPropertyType = "int"
	Uint   ScalarPropertyType = "uint"
	Float  ScalarPropertyType = "float"
	Double ScalarPropertyType = "double"
)

Jump to

Keyboard shortcuts

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