Interface BoundarySource2S
- All Superinterfaces:
BoundarySource<GreatArc>
- All Known Implementing Classes:
BoundaryList2S, ConvexArea2S, GreatArcPath, RegionBSPTree2S
Extension of the
BoundarySource interface for spherical 2D
space.-
Method Summary
Modifier and TypeMethodDescriptionstatic BoundarySource2Sof(Collection<GreatArc> boundaries) Return aBoundarySource2Sinstance containing the given boundaries.static BoundarySource2SReturn aBoundarySource2Sinstance containing the given boundaries.default BoundaryList2StoList()Return aBoundaryList2Scontaining the boundaries in this instance.default RegionBSPTree2StoTree()Return a BSP tree constructed from the boundaries contained in this instance.Methods inherited from interface BoundarySource
boundaryStream
-
Method Details
-
toList
Return aBoundaryList2Scontaining the boundaries in this instance.- Returns:
- a
BoundaryList2Scontaining the boundaries in this instance
-
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
Return aBoundarySource2Sinstance containing the given boundaries.- Parameters:
boundaries- boundaries to include in the boundary source- Returns:
- a boundary source containing the given boundaries
-
of
Return aBoundarySource2Sinstance 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
-