Files
massive-cloud/shared/pointcloudMetadata.ts

22 lines
564 B
TypeScript

export type PointcloudMetadataStatus = "pending" | "ready" | "unsupported" | "error";
export type PointcloudDataFormat =
| "ascii"
| "binary_little_endian"
| "binary_big_endian";
export type PointAttribute = {
name: string;
type: string;
bytes: number;
};
export type PointcloudMetadataValues = {
metadataStatus: Exclude<PointcloudMetadataStatus, "pending">;
pointCount: number | null;
pointAttributes: PointAttribute[] | null;
pointDataFormat: PointcloudDataFormat | null;
bytesPerPoint: number | null;
metadataError: string | null;
};