Geometry (Lucene 10.5.1 core API)
Description: declaration: package: org.apache.lucene.geo, class: Geometry

Package org.apache.lucene.geo

# Class Geometry

java.lang.Object
org.apache.lucene.geo.Geometry

Direct Known Subclasses:
  `LatLonGeometry`, `XYGeometry`

public abstract class Geometry extends Object
Base class for `LatLonGeometry` and `XYGeometry`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Geometry()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected abstract Component2D`
  `toComponent2D()`
  get a Component2D from the geometry object

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Geometry

    public Geometry()

- ## Method Details

  - ### toComponent2D

    protected abstract Component2D toComponent2D()
    get a Component2D from the geometry object