public static Vector3D max(Vector3D a,Vector3D b){
  return new Vector3D(FastMath.max(a.getX(),b.getX()),FastMath.max(a.getY(),b.getY()),FastMath.max(a.getZ(),b.getZ()));
}

public static Vector3D max ( Vector3D a , Vector3D b ) { return new Vector3D ( FastMath . max ( a . getX ( ) , b . getX ( ) ) , FastMath . max ( a . getY ( ) , b . getY ( ) ) , FastMath . max ( a . getZ ( ) , b . getZ ( ) ) ) ; }
calculates maximum of each coordinate .
