Class S2Shape.MutableEdge

  • Enclosing interface:
    S2Shape

    public static final class S2Shape.MutableEdge
    extends java.lang.Object
    A simple receiver for the endpoints of an edge.

    <>The S2Edge class is not suitable for retrieving large numbers of edges, as it often triggers allocations. This class is intended to allow fast retrieval of the endpoints in a single call.