Interface BoundarySource2S

    • Method Detail

      • toTree

        default RegionBSPTree2S toTree()
        Return a BSP tree constructed from the boundaries contained in this instance. The default implementation creates a new, empty tree and inserts the boundaries from this instance.
        Returns:
        a BSP tree constructed from the boundaries in this instance
      • of

        static BoundarySource2S of​(GreatArc... boundaries)
        Return a BoundarySource2S instance containing the given boundaries.
        Parameters:
        boundaries - boundaries to include in the boundary source
        Returns:
        a boundary source containing the given boundaries
      • of

        static BoundarySource2S of​(java.util.Collection<GreatArc> boundaries)
        Return a BoundarySource2S instance containing the given boundaries. The given collection is used directly as the source of the line subsets; no copy is made.
        Parameters:
        boundaries - boundaries to include in the boundary source
        Returns:
        a boundary source containing the given boundaries