lsst.sphgeom  22.0.0+01bcf6a671
Typedefs | Functions
Relationship.h File Reference

This file provides a type alias for describing set relationships. More...

#include <bitset>

Go to the source code of this file.

Typedefs

using lsst::sphgeom::Relationship = std::bitset< 3 >
 Relationship describes how two sets are related.
 

Functions

Relationship lsst::sphgeom::invert (Relationship r)
 

Detailed Description

This file provides a type alias for describing set relationships.

Function Documentation

◆ invert()

Relationship lsst::sphgeom::invert ( Relationship  r)
inline

Given the relationship between two sets A and B (i.e. the output of A.relate(B)), invert returns the relationship between B and A (B.relate(A)).