Uses of Class
com.google.common.geometry.S2PolygonBuilder.Options.Builder
-
Uses of S2PolygonBuilder.Options.Builder in com.google.common.geometry
Methods in com.google.common.geometry that return S2PolygonBuilder.Options.BuilderModifier and TypeMethodDescriptionS2PolygonBuilder.Options.builder()
Static factory method for returning a new optionsS2PolygonBuilder.Options.Builder
with default settings, which is equivalent toS2PolygonBuilder.Options.DIRECTED_XOR
.S2PolygonBuilder.Options.Builder.setEdgeSpliceFraction
(double edgeSpliceFraction) Sets the threshold radius at which vertex are spliced into an edge.S2PolygonBuilder.Options.Builder.setMergeDistance
(S1Angle mergeDistance) Sets the threshold angle at which to merge vertex pairs.S2PolygonBuilder.Options.Builder.setRobustnessRadius
(S1Angle robustnessRadius) SetsmergeDistance
computed from robustness radius and edge splice fraction.S2PolygonBuilder.Options.Builder.setSnapToCellCenters
(boolean snapToCellCenters) Sets whether a polygon will snap its vertices to the centers of s2 cells at the smallest level number such that no vertex will move by more than the robustness radius.S2PolygonBuilder.Options.Builder.setUndirectedEdges
(boolean undirectedEdges) Sets whether edges are undirected.S2PolygonBuilder.Options.Builder.setValidate
(boolean validate) Sets whetherS2Loop.isValid()
is called for all loops.S2PolygonBuilder.Options.Builder.setXorEdges
(boolean xorEdges) Sets whether duplicated edges will be collapsed.S2PolygonBuilder.Options.toBuilder()
Returns a newS2PolygonBuilder.Options.Builder
with the same settings as the current options.Constructors in com.google.common.geometry with parameters of type S2PolygonBuilder.Options.BuilderModifierConstructorDescriptionprivate
Options
(S2PolygonBuilder.Options.Builder builder) Private constructor called by theS2PolygonBuilder.Options.Builder
.