Class ShapeFactoryImpl.GeneralShapeMultiShapeBuilder<T extends Shape>
java.lang.Object
org.locationtech.spatial4j.shape.impl.ShapeFactoryImpl.GeneralShapeMultiShapeBuilder<T>
- All Implemented Interfaces:
ShapeFactory.MultiLineStringBuilder
,ShapeFactory.MultiPointBuilder
,ShapeFactory.MultiPolygonBuilder
,ShapeFactory.MultiShapeBuilder<T>
,ShapeFactory.PointsBuilder<ShapeFactory.MultiPointBuilder>
- Direct Known Subclasses:
JtsShapeFactory.JtsMultiShapeBuilder
- Enclosing class:
ShapeFactoryImpl
protected class ShapeFactoryImpl.GeneralShapeMultiShapeBuilder<T extends Shape>
extends Object
implements ShapeFactory.MultiShapeBuilder<T>, ShapeFactory.MultiPointBuilder, ShapeFactory.MultiLineStringBuilder, ShapeFactory.MultiPolygonBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd
(ShapeFactory.LineStringBuilder lineStringBuilder) add
(ShapeFactory.PolygonBuilder polygonBuilder) build()
pointLatLon
(double latitude, double longitude) pointXY
(double x, double y) pointXYZ
(double x, double y, double z) polygon()
-
Field Details
-
shapes
-
-
Constructor Details
-
GeneralShapeMultiShapeBuilder
protected GeneralShapeMultiShapeBuilder()
-
-
Method Details
-
add
- Specified by:
add
in interfaceShapeFactory.MultiShapeBuilder<T extends Shape>
-
pointXY
- Specified by:
pointXY
in interfaceShapeFactory.PointsBuilder<T extends Shape>
- See Also:
-
pointXYZ
- Specified by:
pointXYZ
in interfaceShapeFactory.PointsBuilder<T extends Shape>
- See Also:
-
pointLatLon
- Specified by:
pointLatLon
in interfaceShapeFactory.PointsBuilder<T extends Shape>
- See Also:
-
lineString
- Specified by:
lineString
in interfaceShapeFactory.MultiLineStringBuilder
-
add
- Specified by:
add
in interfaceShapeFactory.MultiLineStringBuilder
-
polygon
- Specified by:
polygon
in interfaceShapeFactory.MultiPolygonBuilder
-
add
- Specified by:
add
in interfaceShapeFactory.MultiPolygonBuilder
-
build
- Specified by:
build
in interfaceShapeFactory.MultiLineStringBuilder
- Specified by:
build
in interfaceShapeFactory.MultiPointBuilder
- Specified by:
build
in interfaceShapeFactory.MultiPolygonBuilder
- Specified by:
build
in interfaceShapeFactory.MultiShapeBuilder<T extends Shape>
-