Search Results for

    Show / Hide Table of Contents

    Namespace Assimp

    Classes

    SpatialSort

    A little helper class to quickly find all vertices in the epsilon environment of a given position. Construct an instance with an array of positions. The class stores the given positions by their indices and sorts them by their distance to an arbitrary chosen plane. You can then query the instance for all vertices close to a given position in an average O(log n) time, with O(n) worst case complexity when all vertices lay on the plane. The plane is chosen so that it avoids common planes in usual data sets.

    Structs

    SpatialSort::Entry

    An entry in a spatially sorted position array. Consists of a vertex index, its position and its pre-calculated distance from the reference plane

    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat