Class S2Loop.Shape

Wrapper class for indexing a loop (see S2ShapeIndex). Once this object is inserted into an S2ShapeIndex it is owned by that index, and will be automatically deleted when no longer needed by the index. Note that this class does not take ownership of the loop itself (see OwningShape below). You can also subtype this class to store additional data (see S2Shape for details).

class Shape
  : S2Shape ;

Constructors

NameDescription
this () Must call Init().
this (loop) Initialize the shape. Does not take ownership of "loop".