/****************************************************************************** * Copyright (c) 2020, Connor Manning (connor@hobu.co) * * Entwine -- Point cloud indexing * * Entwine is available under the terms of the LGPL2 license. See COPYING * for specific license text and more information. * ******************************************************************************/ #pragma once #include #include #include #include #include namespace entwine { struct Metadata; namespace io { namespace binary { std::vector pack(const Metadata& metadata, BlockPointTable& src); void unpack( const Metadata& m, VectorPointTable& dst, std::vector&& buffer); void write( const Metadata& Metadata, const Endpoints& endpoints, const std::string filename, BlockPointTable& table, const Bounds bounds); void read( const Metadata& metadata, const Endpoints& endpoints, std::string filename, VectorPointTable& table); } // namespace binary } // namespace io } // namespace entwine