Uses of Class
com.google.common.geometry.S2Edge
-
Uses of S2Edge in com.google.common.geometry
Fields in com.google.common.geometry with type parameters of type S2EdgeModifier and TypeFieldDescriptionprivate static final Comparator<S2Edge> S2ShapeUtil.EDGE_ORDERCompares edges by start point, and then by end point.S2ShapeUtil.S2EdgeVectorShape.edgesMethods in com.google.common.geometry that return S2EdgeModifier and TypeMethodDescriptionS2EdgeIndex.edgeFromTo(int index) Return both vertices of the givenindexin one call.abstract S2EdgeS2Polygon.S2LoopSequenceIndex.edgeFromTo(int index) Mark theS2Polygon.S2LoopSequenceIndex.edgeFromTo(int)method abstract again, so children of this class must implement it without usingS2Polygon.S2LoopSequenceIndex.edgeFrom(int)andS2Polygon.S2LoopSequenceIndex.edgeTo(int).S2Polygon.S2PolygonIndex.edgeFromTo(int index) S2ShapeUtil.S2EdgeVectorShape.get(int index) Methods in com.google.common.geometry with parameters of type S2EdgeModifier and TypeMethodDescriptionstatic S1ChordAngleS2EdgeUtil.getDistance(S2Point p, S2Edge e) Gets the distance fromptoe.static S1ChordAngleS2EdgeUtil.updateMinDistance(S2Point p, S2Edge e, S1ChordAngle minDistance) Gets the minimum of the distance fromatoeandminDistance.Method parameters in com.google.common.geometry with type arguments of type S2EdgeModifier and TypeMethodDescriptionprivate S2LoopS2PolygonBuilder.assembleLoop(S2Point v0, S2Point v1, List<S2Edge> unusedEdges) We start at the given edge and assemble a loop taking left turns whenever possible.booleanS2PolygonBuilder.assemblePolygon(S2Polygon polygon, List<S2Edge> unusedEdges) Like AssembleLoops, but then assembles the loops into a polygon.private voidS2PolygonBuilder.rejectLoop(S2Loop v, int n, List<S2Edge> unusedEdges) Erases all edges of the given loop and marks them as unused.