Documentation ¶
Index ¶
- type ClassificationBitField
- func (c *ClassificationBitField) ClassString() string
- func (c *ClassificationBitField) ClassValue() byte
- func (c *ClassificationBitField) IsKeyPoint() bool
- func (c *ClassificationBitField) IsSynthetic() bool
- func (c *ClassificationBitField) IsWithheld() bool
- func (c ClassificationBitField) String() string
- type ExtendedVlrHeader
- type GPSTime
- type LasFile
- func (las *LasFile) Close() error
- func (las *LasFile) GetFileName() string
- func (las *LasFile) GetPointClassName(n int64) string
- func (las *LasFile) GetPointClassValue(n int64) byte
- func (las *LasFile) GetPointIntensity(n int64) uint16
- func (las LasFile) GetPointTypeInfo() string
- func (las *LasFile) GetPointXYZ(n int64) (X, Y, Z float64)
- func (las *LasFile) PrintPointData(n int64)
- type LasHeader
- type PointBitField
- type PointData
- type PointRecord0
- type PointRecord1
- type PointRecord2
- type PointRecord3
- type RGBData
- type VlrHeader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClassificationBitField ¶
type ClassificationBitField uint8
func (*ClassificationBitField) ClassString ¶
func (c *ClassificationBitField) ClassString() string
func (*ClassificationBitField) ClassValue ¶
func (c *ClassificationBitField) ClassValue() byte
func (*ClassificationBitField) IsKeyPoint ¶
func (c *ClassificationBitField) IsKeyPoint() bool
func (*ClassificationBitField) IsSynthetic ¶
func (c *ClassificationBitField) IsSynthetic() bool
func (*ClassificationBitField) IsWithheld ¶
func (c *ClassificationBitField) IsWithheld() bool
func (ClassificationBitField) String ¶
func (c ClassificationBitField) String() string
type ExtendedVlrHeader ¶
type LasFile ¶
type LasFile struct { Header LasHeader // contains filtered or unexported fields }
func CreateFromFile ¶
func (*LasFile) GetFileName ¶
GetFileName Returns the file name
func (*LasFile) GetPointClassName ¶
GetPointClassName returns the class name associated with a point
func (*LasFile) GetPointClassValue ¶
GetPointClassValue returns class value information for a point
func (*LasFile) GetPointIntensity ¶
GetPointIntensity returns the intensity associated with a point
func (LasFile) GetPointTypeInfo ¶
func (*LasFile) GetPointXYZ ¶
GetPointXYZ returns the x,y,z coordinates of a point
func (*LasFile) PrintPointData ¶
PrintPointData prints data for a point
type LasHeader ¶
type LasHeader struct { FileSignature string //[4]byte FileSourceID uint16 GlobalEncoding uint16 ProjectID1 uint32 ProjectID2 uint16 ProjectID3 uint16 ProjectID4 uint64 VersionMajor byte VersionMinor byte SystemID string // 32 characters GeneratingSoftware string // 32 characters FileCreationDay uint16 FileCreationYear uint16 HeaderSize uint16 OffsetToPoints uint32 NumberOfVLRs uint32 PointFormatID byte PointRecordLength uint16 NumberPoints uint32 NumberPointsByReturn [7]uint32 XScaleFactor float64 YScaleFactor float64 ZScaleFactor float64 XOffset float64 YOffset float64 ZOffset float64 MaxX float64 MinX float64 MaxY float64 MinY float64 MaxZ float64 MinZ float64 WaveformDataStart uint64 }
type PointBitField ¶
type PointBitField uint8
func (*PointBitField) EdgeOfFlightline ¶
func (p *PointBitField) EdgeOfFlightline() bool
func (*PointBitField) NumberOfReturns ¶
func (p *PointBitField) NumberOfReturns() byte
func (*PointBitField) ReturnNumber ¶
func (p *PointBitField) ReturnNumber() byte
func (*PointBitField) ScanDirectionFlag ¶
func (p *PointBitField) ScanDirectionFlag() bool
func (PointBitField) String ¶
func (p PointBitField) String() string
type PointData ¶
type PointData struct {
X, Y, Z int32
Intensity uint16
BitField PointBitField
ClassField ClassificationBitField
ScanAngle int8
UserData byte
PointSourceID uint16
}
type PointRecord0 ¶
type PointRecord0 struct {
PointData PointData
}
func (PointRecord0) String ¶
func (p PointRecord0) String() string
type PointRecord1 ¶
func (PointRecord1) String ¶
func (p PointRecord1) String() string
type PointRecord2 ¶
func (PointRecord2) String ¶
func (p PointRecord2) String() string
type PointRecord3 ¶
func (PointRecord3) String ¶
func (p PointRecord3) String() string
Click to show internal directories.
Click to hide internal directories.