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>
public interface Point<S extends Space> extends Serializable
This interface represents a generic geometrical point.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubledistance(Point<S> p)Compute the distance between the instance and another point.SpacegetSpace()Get the space to which the point belongs.booleanisNaN()Returns true if any coordinate of this point is NaN; false otherwise
-
-
-
Method Detail
-
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
-
-