public S2Cap complement(){
  double cHeight=isFull() ? -1 : 2 - Math.max(height,0.0);
  return S2Cap.fromAxisHeight(S2Point.neg(axis),cHeight);
}

public S2Cap complement ( ) { double cHeight = isFull ( ) ? - 1 : 2 - Math . max ( height , 0.0 ) ; return S2Cap . fromAxisHeight ( S2Point . neg ( axis ) , cHeight ) ; }
return the complement of the interior of the cap . a cap and its complement have the same boundary but do not share any interior points . the complement operator is not a bijection , since the complement of a singleton cap ( containing a single point ) is the same as the complement of an empty cap .
