main/src/georegression/geometry/UtilPoint4D_F64.java
public static boolean isInfiniteH(Point4D_F64 p , double tol ) {
		double n = Math.sqrt(p.x*p.x + p.y*p.y + p.z*p.z);
		return Math.abs(p.w) <= n*tol;
	}
public static boolean isInfiniteH(Point4D_F64 p , double tol ) {
		double n = Math.sqrt(p.x*p.x + p.y*p.y + p.z*p.z);
		return Math.abs(p.w) <= n*tol;
	}
public static boolean isInfiniteH ( Point4D_F64 p , double tol ) { double n = Math . sqrt ( p . x * p . x + p . y * p . y + p . z * p . z ) ; return Math . abs ( p . w ) <= n * tol ; }
Checks to see if the homogenous 3D point lies on the plane at infinity

@param p (Input) Homogenous point
@param tol (Input) tolerance. Try EPS
@return true if on plane at infinity
Checks to see if the homogenous 3D point lies on the plane at infinity