Interface TopologicalSpace<T>
- All Superinterfaces:
Set<T>
- All Known Subinterfaces:
MetricSpace<T>, SpacetimeMetric
- All Known Implementing Classes:
IntervalND, KerrMetric, Point2D, Point3D, PointND, SchwarzschildMetric, Vector2D, Vector3D, Vector4D, VectorND
Represents a topological space.
A topological space is a set equipped with a topology, which defines which subsets are considered "open".
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsPoint(T point) Checks if this space contains the given point.booleanisClosed()Checks if this set is closed in the topology.booleanisOpen()Checks if this set is open in the topology.Methods inherited from interface Set
contains, description, isEmpty
-
Method Details
-
containsPoint
Checks if this space contains the given point.Named containsPoint to avoid erasure conflict with Set.contains.
- Parameters:
point- the point to check- Returns:
- true if the point is in this space
-
isOpen
boolean isOpen()Checks if this set is open in the topology.- Returns:
- true if this is an open set
-
isClosed
boolean isClosed()Checks if this set is closed in the topology.- Returns:
- true if this is a closed set
-