Uses of Class
com.google.common.geometry.S2PolygonBuilder.Options
-
Uses of S2PolygonBuilder.Options in com.google.common.geometry
Fields in com.google.common.geometry declared as S2PolygonBuilder.OptionsModifier and TypeFieldDescriptionstatic final S2PolygonBuilder.Options
S2PolygonBuilder.Options.DIRECTED_UNION
Finally, select this option when the desired output is a collection of loops rather than a polygon, but your input edges are directed and you do not want reverse edges to be added implicitly as above.static final S2PolygonBuilder.Options
S2PolygonBuilder.Options.DIRECTED_XOR
These are the options that should be used for assembling well-behaved input data into polygons.private final S2PolygonBuilder.Options
S2PolygonBuilder.options
static final S2PolygonBuilder.Options
S2PolygonBuilder.Options.UNDIRECTED_UNION
These are the options that should be used for assembling edges where the desired output is a collection of loops rather than a polygon, and edges may occur more than once.static final S2PolygonBuilder.Options
S2PolygonBuilder.Options.UNDIRECTED_XOR
These are the options that should be used for assembling polygons that do not follow the conventions above, e.g., where edge directions may vary within a single loop, or shells and holes are not oppositely oriented.Methods in com.google.common.geometry that return S2PolygonBuilder.OptionsModifier and TypeMethodDescriptionS2PolygonBuilder.Options.Builder.build()
Builds and returns a new (immutable) instance ofS2PolygonBuilder.Options
.S2PolygonBuilder.options()
Constructors in com.google.common.geometry with parameters of type S2PolygonBuilder.Options