S2BooleanOperation.this

Specifies that the output boundary edges should be sent to three different layers according to their dimension. Points (represented by degenerate edges) are sent to layer 0, polyline edges are sent to layer 1, and polygon edges are sent to layer 2.

The dimension of an edge is defined as the minimum dimension of the two input edges that produced it. For example, the intersection of two crossing polyline edges is a considered to be a degenerate polyline rather than a point, so it is sent to layer 1. Clients can easily reclassify such polylines as points if desired, but this rule makes it easier for clients that want to process point, polyline, and polygon inputs differently.

The layers are always built in the order 0, 1, 2, and all arguments to the Build() calls are guaranteed to be valid until the last call returns. All Graph objects have the same set of vertices and the same lexicon objects, in order to make it easier to write classes that process all the edges in parallel.

  1. this(OpType op_type, Layer layer, Options options)
  2. this(OpType op_type, Layer[] layers, Options options)
    class S2BooleanOperation

Meta