lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ignacio Vera (JIRA)" <>
Subject [jira] [Created] (LUCENE-7934) PlanetObject Interface
Date Sun, 20 Aug 2017 10:17:00 GMT
Ignacio Vera created LUCENE-7934:

             Summary: PlanetObject Interface
                 Key: LUCENE-7934
             Project: Lucene - Core
          Issue Type: Improvement
          Components: modules/spatial3d
            Reporter: Ignacio Vera

Hi [~daddywri],

I propose to add a new interface call PlanetObject which all shapes should implement. It is
actually extracted from class BasePlanetObject. The motivation is that currently the method
getPlanetModel() is not visible and therefore there is no possibility to know to which PlanetModel
a shape belongs to. 

The side effect for this change is that the constructors for composite shapes change as they
need to be created with a PlanetModel. I think this is correct as then we can check the planet
model when adding a shape and make sure all objects in a composite belongs to the same Planet

In addition, we check that two shape belongs to the shape Planet model when calling getRelationship(GeoShape

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message