Interface GeometricObject<T>

All Known Subinterfaces:
EarthCoordinate
All Known Implementing Classes:
AERCoordinate, AlbersEqualAreaCoordinate, BonneCoordinate, CassiniSoldnerCoordinate, ECEFCoordinate, ENUCoordinate, GeodeticCoordinate, Hyperplane, LambertAzimuthalEqualAreaCoordinate, LambertConformalConicCoordinate, Line2D, Line3D, LineND, MercatorCoordinate, MGRSCoordinate, Plane3D, Point2D, Point3D, PointND, PolyconicCoordinate, Segment2D, Segment3D, SegmentND, UPSCoordinate, UTMCoordinate, Vector2D

public interface GeometricObject<T>
Base interface for all geometric objects.

A geometric object is any mathematical entity that exists in a geometric space, such as points, lines, planes, curves, surfaces, etc.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the dimension of the ambient space containing this object.
    Returns a human-readable description of this geometric object.
    int
    Returns the intrinsic dimension of this geometric object.
  • Method Details

    • dimension

      int dimension()
      Returns the intrinsic dimension of this geometric object.

      Examples:

      • Point: 0
      • Line/Segment: 1
      • Plane/Surface: 2
      • Volume: 3

      Returns:
      the dimension
    • ambientDimension

      int ambientDimension()
      Returns the dimension of the ambient space containing this object.

      For example, a 2D plane in 3D space has dimension=2 but ambientDimension=3.

      Returns:
      the ambient space dimension
    • description

      String description()
      Returns a human-readable description of this geometric object.
      Returns:
      description string