public static boolean isUnitLength(S2Point p){
  return Math.abs(p.norm2() - 1) <= 1e-15;
}

public static boolean isUnitLength ( S2Point p ) { return Math . abs ( p . norm2 ( ) - 1 ) <= 1e-15 ; }
return true if the given point is approximately unit length ( this is mainly useful for assertions ) .
