subtract

public Location subtract(Location vec)

Subtracts the location by another.

Return

the same location

Parameters

vec

The other location

See also

Throws

for differing worlds


public Location subtract(Vector vec)

Subtracts the location by vector.

Return

the same location

Parameters

vec

The vector to use

See also


public Location subtract(double x, double y, double z)

Subtracts the location by another. Not world-aware and orientation independent.

Return

the same location

Parameters

x

X coordinate

y

Y coordinate

z

Z coordinate

See also