Uses of Class
org.apache.sis.internal.feature.GeometryWrapper
Packages that use GeometryWrapper
Package
Description
A set of helper classes for the SIS implementation.
Centralizes usages ERSI geometry API by Apache SIS.
Centralizes usages of some (not all) Java2D geometry API by Apache SIS.
Methods specific to the Java Topology Suite (JTS).
Base implementation shared by the main
filter package and the SQLMM extension.-
Uses of GeometryWrapper in org.apache.sis.internal.feature
Subclasses of GeometryWrapper in org.apache.sis.internal.featureModifier and TypeClassDescriptionclassA geometry wrapper with a field for CRS information.Methods in org.apache.sis.internal.feature that return GeometryWrapperModifier and TypeMethodDescriptionabstract GeometryWrapper<G> Geometries.castOrWrap(Object geometry) Returns a wrapper for the given<G>orGeometryWrapper<G>instance.abstract GeometryWrapper<G> Geometries.createFromComponents(GeometryType type, Object components) Creates a geometry from components.abstract GeometryWrapper<G> Geometries.createMultiPolygon(Object[] geometries) Creates a multi-polygon from an array of geometries (polygons or linear rings).final GeometryWrapper<G> Geometries.createPoint(org.opengis.geometry.DirectPosition point) Creates and wraps a point from the given position.protected abstract GeometryWrapper<G> Geometries.createWrapper(G geometry) Creates a wrapper for the given geometry instance.abstract GeometryWrapper<G> Geometries.parseWKB(ByteBuffer data) Reads the given bytes as a Well Known Binary (WKB) encoded geometry.abstract GeometryWrapper<G> Parses the given Well Known Text (WKT).Geometries.toGeometry2D(org.opengis.geometry.Envelope envelope, WraparoundMethod strategy) Transforms an envelope to a two-dimensional polygon whose start point is lower corner and other points are the envelope corners in clockwise order.GeometryWrapper.toGeometryType(GeometryType target) Converts the given geometry to the specified type.GeometryWrapper.transform(org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS) Transforms this geometry to the specified Coordinate Reference System (CRS).GeometryWrapper.transform(org.opengis.referencing.operation.CoordinateOperation operation, boolean validate) Transforms this geometry using the given coordinate operation.<G> GeometryWrapper<G> SpatialOperationContext.transform(GeometryWrapper<G> geometry) Transforms the specified geometry to the computation CRS.Methods in org.apache.sis.internal.feature that return types with arguments of type GeometryWrapperModifier and TypeMethodDescriptionstatic Optional<GeometryWrapper<?>> Wraps the given geometry implementation if recognized.Methods in org.apache.sis.internal.feature with parameters of type GeometryWrapperModifier and TypeMethodDescriptionfinal booleanGeometryWithCRS.isSameCRS(GeometryWrapper<G> other) Returnstrueif the given geometry use the same CRS than this geometry, or conservatively returnsfalsein case of doubt.abstract booleanGeometryWrapper.isSameCRS(GeometryWrapper<G> other) Returnstrueif the given geometry use the same CRS than this geometry, or conservatively returnsfalsein case of doubt.final ObjectGeometryWrapper.operation(SQLMM operation, GeometryWrapper<G> other) Applies a SQLMM operation on two geometries.protected ObjectGeometryWrapper.operationSameCRS(SQLMM operation, GeometryWrapper<G> other, Object argument) Applies a SQLMM operation on this geometry.final ObjectGeometryWrapper.operationWithArgument(SQLMM operation, GeometryWrapper<G> other, Object argument) Applies a SQLMM operation on two geometries with one operation-specific argument.final booleanGeometryWrapper.predicate(DistanceOperatorName type, GeometryWrapper<G> other, javax.measure.Quantity<javax.measure.quantity.Length> distance, SpatialOperationContext context) Applies a filter predicate between this geometry and another geometry.final booleanGeometryWrapper.predicate(SpatialOperatorName type, GeometryWrapper<G> other, SpatialOperationContext context) Applies a filter predicate between this geometry and another geometry.protected booleanGeometryWrapper.predicateSameCRS(DistanceOperatorName type, GeometryWrapper<G> other, double distance) Applies a filter predicate between this geometry and another geometry within a given distance.protected booleanGeometryWrapper.predicateSameCRS(SpatialOperatorName type, GeometryWrapper<G> other) Applies a filter predicate between this geometry and another geometry.<G> GeometryWrapper<G> SpatialOperationContext.transform(GeometryWrapper<G> geometry) Transforms the specified geometry to the computation CRS.Constructors in org.apache.sis.internal.feature with parameters of type GeometryWrapperModifierConstructorDescriptionSpatialOperationContext(org.opengis.metadata.extent.GeographicBoundingBox areaOfInterest, GeometryWrapper<?> literal, javax.measure.Unit<?> systemUnit, int skipIndex) Creates a new context. -
Uses of GeometryWrapper in org.apache.sis.internal.feature.esri
Methods in org.apache.sis.internal.feature.esri that return GeometryWrapperModifier and TypeMethodDescriptionGeometryWrapper<com.esri.core.geometry.Geometry> Factory.castOrWrap(Object geometry) Returns a wrapper for the given<G>orGeometryWrapper<G>geometry.GeometryWrapper<com.esri.core.geometry.Geometry> Factory.createFromComponents(GeometryType type, Object components) Creates a geometry from components.GeometryWrapper<com.esri.core.geometry.Geometry> Factory.createMultiPolygon(Object[] geometries) Creates a multi-polygon from an array of geometries.protected GeometryWrapper<com.esri.core.geometry.Geometry> Factory.createWrapper(com.esri.core.geometry.Geometry geometry) Creates a wrapper for the given geometry instance.GeometryWrapper<com.esri.core.geometry.Geometry> Factory.parseWKB(ByteBuffer data) Reads the given Well Known Binary (WKB).GeometryWrapper<com.esri.core.geometry.Geometry> Parses the given Well Known Text (WKT). -
Uses of GeometryWrapper in org.apache.sis.internal.feature.j2d
Methods in org.apache.sis.internal.feature.j2d that return GeometryWrapperModifier and TypeMethodDescriptionFactory.castOrWrap(Object geometry) Returns a wrapper for the given<G>orGeometryWrapper<G>geometry.Factory.createFromComponents(GeometryType type, Object components) Creates a geometry from components.Factory.createMultiPolygon(Object[] geometries) Creates a multi-polygon from an array of geometries.protected GeometryWrapper<Shape> Factory.createWrapper(Shape geometry) Creates a wrapper for the given geometry instance.Factory.parseWKB(ByteBuffer data) Well Known Binary (WKB) reading not supported with Java2D.Well Known Text (WKT) parsing not supported with Java2D. -
Uses of GeometryWrapper in org.apache.sis.internal.feature.jts
Methods in org.apache.sis.internal.feature.jts that return GeometryWrapperModifier and TypeMethodDescriptionGeometryWrapper<org.locationtech.jts.geom.Geometry> Factory.castOrWrap(Object geometry) Returns a wrapper for the given<G>orGeometryWrapper<G>geometry.GeometryWrapper<org.locationtech.jts.geom.Geometry> Factory.createFromComponents(GeometryType type, Object components) Creates a geometry from components.GeometryWrapper<org.locationtech.jts.geom.Geometry> Factory.createMultiPolygon(Object[] geometries) Creates a multi-polygon from an array of JTSPolygonorLinearRing.protected GeometryWrapper<org.locationtech.jts.geom.Geometry> Factory.createWrapper(org.locationtech.jts.geom.Geometry geometry) Creates a wrapper for the given geometry instance.GeometryWrapper<org.locationtech.jts.geom.Geometry> Factory.parseWKB(ByteBuffer data) Reads the given Well Known Binary (WKB).GeometryWrapper<org.locationtech.jts.geom.Geometry> Parses the given Well Known Text (WKT). -
Uses of GeometryWrapper in org.apache.sis.internal.filter
Methods in org.apache.sis.internal.filter that return types with arguments of type GeometryWrapperModifier and TypeMethodDescriptionprotected static <R,G> Expression <R, GeometryWrapper<G>> Node.toGeometryWrapper(Geometries<G> library, Expression<R, ?> expression) Returns an expression whose results is a geometry wrapper.Method parameters in org.apache.sis.internal.filter with type arguments of type GeometryWrapperModifier and TypeMethodDescriptionprotected static <G> Geometries<G> Node.getGeometryLibrary(Expression<?, GeometryWrapper<G>> expression) Returns a handler for the library of geometric objects used by the given expression.protected static <R,G> Expression <? super R, ?> Node.unwrap(Expression<R, GeometryWrapper<G>> expression) If the given exception was wrapped byNode.toGeometryWrapper(Geometries, Expression), returns the original expression.