Documentation ¶
Index ¶
- func Load(filepath string) (*modeling.Mesh, error)
- func ReadMesh(in io.Reader) (*modeling.Mesh, error)
- func Save(plyPath string, meshToSave modeling.Mesh) error
- func SaveBinary(plyPath string, meshToSave modeling.Mesh) error
- func WriteASCII(out io.Writer, model modeling.Mesh) error
- func WriteBinary(out io.Writer, model modeling.Mesh) error
- type AsciiReader
- type BinaryReader
- type Element
- type Format
- type ListProperty
- type Property
- type ScalarProperty
- type ScalarPropertyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AsciiReader ¶
type AsciiReader struct {
// contains filtered or unexported fields
}
type BinaryReader ¶ added in v0.2.0
type BinaryReader struct {
// contains filtered or unexported fields
}
type ListProperty ¶
type ListProperty struct {
// contains filtered or unexported fields
}
func (ListProperty) Name ¶
func (lp ListProperty) Name() string
type ScalarProperty ¶
type ScalarProperty struct { Type ScalarPropertyType // contains filtered or unexported fields }
func (ScalarProperty) Name ¶
func (sp ScalarProperty) Name() string
func (ScalarProperty) Size ¶ added in v0.2.0
func (sp ScalarProperty) Size() int
type ScalarPropertyType ¶
type ScalarPropertyType string
const ( Char ScalarPropertyType = "char" UChar ScalarPropertyType = "uchar" // uint8 Short ScalarPropertyType = "short" UShort ScalarPropertyType = "ushort" Int ScalarPropertyType = "int" UInt ScalarPropertyType = "uint" Float ScalarPropertyType = "float" Double ScalarPropertyType = "double" )
Click to show internal directories.
Click to hide internal directories.