Convenience constructor that calls InitNested() with the given loops.
When called with override == S2Debug::ALLOW, the automatic validity
checking is controlled by --s2debug (which is true by default in
non-optimized builds). When this flag is enabled, a fatal error is
generated whenever an invalid polygon is constructed.
With override == S2Debug::DISABLE, the automatic validity checking
is disabled. The main reason to do this is if you intend to call
IsValid() explicitly. (See set_s2debug_override() for details.)
Convenience constructor that calls InitNested() with the given loops.
When called with override == S2Debug::ALLOW, the automatic validity checking is controlled by --s2debug (which is true by default in non-optimized builds). When this flag is enabled, a fatal error is generated whenever an invalid polygon is constructed.
With override == S2Debug::DISABLE, the automatic validity checking is disabled. The main reason to do this is if you intend to call IsValid() explicitly. (See set_s2debug_override() for details.)