build static method
Implementation
static STRtree build(Geometry g) {
STRtree tree = STRtree.withCapacity(STR_TREE_NODE_CAPACITY);
List<FacetSequence> sections = computeFacetSequences(g);
for (var section in sections) {
tree.insert(section.getEnvelope(), section);
}
tree.build();
return tree;
}