Package org.hipparchus.geometry
Interface Point<S extends Space>
- Type Parameters:
S
- Type of the space.
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Vector<S,
V>
This interface represents a generic geometrical point.
-
Method Summary
-
Method Details
-
getSpace
Space getSpace()Get the space to which the point belongs.- Returns:
- containing space
-
isNaN
boolean isNaN()Returns true if any coordinate of this point is NaN; false otherwise- Returns:
- true if any coordinate of this point is NaN; false otherwise
-
distance
Compute the distance between the instance and another point.- Parameters:
p
- second point- Returns:
- the distance between the instance and p
-