Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
abstract class BaseFiles
Link copied to clipboard
abstract class BaseWriteFiles : BaseFiles

Garbage-free numeric-to-text appenders shared by anything that streams large files (point clouds, feature point frames, etc.) directly to a sink instead of building one huge in-memory string first. Writing Int/Long/Float values via these appenders avoids the per-value allocation that Int.toString()/Float.toString()/string concatenation would otherwise create for every single number — which adds up fast when writing tens of thousands of vertices or points.

Link copied to clipboard
actual object DracoCodec

Platform bridge to Google's Draco geometry compression library (https://github.com/google/draco), used to compress/decompress the raw point clouds written every ~0.33s during object-capture scanning (see DracoFiles).

expect object DracoCodec

Platform bridge to Google's Draco geometry compression library (https://github.com/google/draco), used to compress/decompress the raw point clouds written every ~0.33s during object-capture scanning (see DracoFiles).

Link copied to clipboard

Reads/writes point clouds compressed with Google's Draco format (.drc), replacing PLYFiles/.ply for the per-frame snapshots written every ~0.33s during object-capture scanning (see SnapshotFiles.exportSnapshot). The heavy lifting -- compressing/decompressing the position + color attributes -- happens behind DracoCodec (native on Android via JNI over the vendored draco C++ library; see core/src/androidMain/cpp).

Link copied to clipboard
data class DracoPointCloudData(val positions: FloatArray, val colors: ByteArray, val pointCount: Int, val metadataText: String?)

Raw point cloud geometry + metadata decoded from a Draco-compressed buffer.

Link copied to clipboard
actual class PlatformZipOutputStream(zipPath: Path) : AutoCloseable
expect class PlatformZipOutputStream(zipPath: Path) : AutoCloseable
Link copied to clipboard
Link copied to clipboard
data class PLYMetadata(val vertexCount: Int = 0, val weight: Float? = null, val palletCount: Int = 1, val dimensions: Point3? = Point3( 0f, 0f, 0f ), val volume: Float? = null, val volumeRotationMatrix: List<List<Float>>? = listOf( listOf(1f, 0f, 0f), listOf(0f, 1f, 0f), listOf(0f, 0f, 1f) ), val estFreightClass: String? = null, val location: LocationData? = null, var barcodes: List<BaseBarcode> = emptyList(), val frameDebugValues: FrameDebugValues? = null)
Link copied to clipboard

Properties

Link copied to clipboard
val Path.extension: String
Link copied to clipboard
Link copied to clipboard
val Path.isFile: Boolean
Link copied to clipboard

Functions

Link copied to clipboard