Constructor and Description |
---|
GeneralGridGeometry(GridEnvelope gridRange,
Envelope userRange)
Constructs a new grid geometry from an envelope.
|
GeneralGridGeometry(GridEnvelope gridRange,
MathTransform gridToCRS,
CoordinateReferenceSystem crs)
Constructs a new grid geometry from a grid range and a math
transform mapping pixel center.
|
GeneralGridGeometry(GridEnvelope gridRange,
PixelInCell anchor,
MathTransform gridToCRS,
CoordinateReferenceSystem crs)
Constructs a new grid geometry from a grid range and a math
transform mapping pixel center or corner.
|
GeneralGridGeometry(PixelInCell anchor,
MathTransform gridToCRS,
Envelope envelope)
Constructs a new grid geometry from an envelope and a math
transform.
|
GeneralGridGeometry(PixelInCell anchor,
MathTransform gridToCRS,
Envelope envelope,
boolean gridMaxInclusive,
boolean preserveGridToCRS)
Constructs a new grid geometry from an envelope and a math
transform.
|
GridGeometry2D(GridEnvelope gridRange,
Envelope userRange)
Constructs a new grid geometry from an envelope.
|
GridGeometry2D(GridEnvelope gridRange,
MathTransform gridToCRS,
CoordinateReferenceSystem crs)
Constructs a new grid geometry from a grid range and a math transform.
|
GridGeometry2D(GridEnvelope gridRange,
PixelInCell anchor,
MathTransform gridToCRS,
CoordinateReferenceSystem crs,
Hints hints)
Constructs a new grid geometry from a math transform.
|
GridGeometry2D(GridEnvelope gridRange,
PixelOrientation anchor,
MathTransform gridToCRS,
CoordinateReferenceSystem crs,
Hints hints)
Constructs a new grid geometry from a math transform.
|
GridGeometry2D(PixelInCell anchor,
MathTransform gridToCRS,
Envelope envelope,
Hints hints)
Constructs a new grid geometry from an envelope and a math
transform.
|
Modifier and Type | Method and Description |
---|---|
void |
CoverageReadRequest.setDomainSubset(Rectangle rasterArea,
MathTransform2D gridToWorldTrasform,
CoordinateReferenceSystem crs) |
Modifier and Type | Method and Description |
---|---|
static Envelope2D |
CoverageUtilities.getEnvelope2D(Coverage coverage)
Returns a two-dimensional envelope for the given coverage.
|
static Polygon |
FeatureUtilities.getPolygon(GeneralEnvelope env,
GeometryFactory gf)
Convert the crop envelope into a polygon and the use the world-to-grid transform to get a ROI
for the source coverage.
|
Modifier and Type | Method and Description |
---|---|
static SimpleFeature |
FeatureTypes.transform(SimpleFeature feature,
SimpleFeatureType schema,
MathTransform transform)
Applies transform to all geometry attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
GeneralEnvelope.add(DirectPosition position)
Adds a point to this envelope.
|
void |
GeneralEnvelope.add(Envelope envelope)
Adds an envelope object to this envelope.
|
boolean |
GeneralEnvelope.contains(DirectPosition position)
Tests if a specified coordinate is inside the boundary of this envelope.
|
boolean |
GeneralEnvelope.contains(Envelope envelope,
boolean edgesInclusive)
Returns
true if this envelope completly encloses the specified envelope. |
Curve |
GeometryBuilder.createCurve(List segments) |
Curve |
GeometryBuilder.createCurve(PointArray points)
Deprecated.
|
Curve |
GeometryBuilder.createCurve(PointArray points,
boolean closed) |
Envelope |
GeometryBuilder.createEnvelope(DirectPosition lowerCorner,
DirectPosition upperCorner) |
LineSegment |
GeometryBuilder.createLineSegment(Position startPoint,
Position endPoint) |
LineString |
GeometryBuilder.createLineString(List points) |
LineString |
GeometryBuilder.createLineString(PointArray points) |
Point |
GeometryBuilder.createPoint(double[] ordinates)
Create a point with the provided ordinates
|
Point |
GeometryBuilder.createPoint(Position position) |
Polygon |
GeometryBuilder.createPolygon(SurfaceBoundary boundary) |
Polygon |
GeometryBuilder.createPolygon(SurfaceBoundary boundary,
Surface spanSurface) |
PolyhedralSurface |
GeometryBuilder.createPolyhedralSurface(List tiles) |
Primitive |
GeometryBuilder.createPrimitive(Envelope envelope) |
Ring |
GeometryBuilder.createRing(List<OrientableCurve> orientableCurves) |
Solid |
GeometryBuilder.createSolid(SolidBoundary boundary) |
Surface |
GeometryBuilder.createSurface(List surfaces) |
Surface |
GeometryBuilder.createSurface(SurfaceBoundary boundary) |
SurfaceBoundary |
GeometryBuilder.createSurfaceBoundary(OrientableCurve curve) |
SurfaceBoundary |
GeometryBuilder.createSurfaceBoundary(PointArray points) |
SurfaceBoundary |
GeometryBuilder.createSurfaceBoundary(Ring exterior) |
SurfaceBoundary |
GeometryBuilder.createSurfaceBoundary(Ring exterior,
List interiors) |
Tin |
GeometryBuilder.createTin(Set post,
Set stopLines,
Set breakLines,
double maxLength) |
void |
GeneralEnvelope.intersect(Envelope envelope)
Sets this envelope to the intersection if this envelope with the specified one.
|
boolean |
GeneralEnvelope.intersects(Envelope envelope,
boolean edgesInclusive)
Returns
true if this envelope intersects the specified envelope. |
void |
GeneralEnvelope.setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Sets the coordinate reference system in which the coordinate are given.
|
void |
TransformedDirectPosition.setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Sets the coordinate reference system in which the coordinate is given.
|
void |
GeneralDirectPosition.setCoordinateReferenceSystem(CoordinateReferenceSystem crs)
Set the coordinate reference system in which the coordinate is given.
|
void |
GeneralEnvelope.setEnvelope(GeneralEnvelope envelope)
Sets this envelope to the same coordinate values than the specified envelope.
|
void |
DirectPosition2D.setLocation(DirectPosition position)
Set this coordinate to the specified direct position.
|
void |
DirectPosition3D.setLocation(DirectPosition position)
Set this coordinate to the specified direct position.
|
void |
DirectPosition1D.setLocation(DirectPosition position)
Set this coordinate to the specified direct position.
|
void |
GeneralDirectPosition.setLocation(DirectPosition position)
Set this coordinate to the specified direct position.
|
void |
GeneralDirectPosition.setLocation(GeneralDirectPosition position)
Set this coordinate to the specified direct position.
|
void |
GeneralDirectPosition.setLocation(Point2D point)
Set this coordinate to the specified
Point2D . |
Modifier and Type | Method and Description |
---|---|
protected void |
ReferencedEnvelope.checkCoordinateReferenceSystemDimension()
Convenience method for checking coordinate reference system validity.
|
static Envelope2D |
JTS.getEnvelope2D(Envelope envelope,
CoordinateReferenceSystem crs)
Converts a JTS 2D envelope in an
Envelope2D for interoperability with the referencing
package. |
static Geometry |
JTS.transform(Geometry geom,
MathTransform transform)
Transforms the geometry using the default transformer.
|
Constructor and Description |
---|
ReferencedEnvelope(BoundingBox bbox)
Creates a new envelope from an existing bounding box.
|
ReferencedEnvelope(CoordinateReferenceSystem crs)
Creates a null envelope with the specified coordinate reference system.
|
ReferencedEnvelope(double x1,
double x2,
double y1,
double y2,
CoordinateReferenceSystem crs)
Creates an envelope for a region defined by maximum and minimum values.
|
ReferencedEnvelope(Envelope envelope)
Creates a new envelope from an existing OGC envelope.
|
ReferencedEnvelope(Envelope envelope,
CoordinateReferenceSystem crs)
Creates a new envelope from an existing JTS envelope.
|
ReferencedEnvelope(Rectangle2D rectangle,
CoordinateReferenceSystem crs)
Creates an envelope for a Java2D rectangle.
|
ReferencedEnvelope(ReferencedEnvelope envelope)
Creates a new envelope from an existing envelope.
|
ReferencedEnvelope3D(BoundingBox3D bbox)
Creates a new envelope from an existing bounding box.
|
ReferencedEnvelope3D(CoordinateReferenceSystem crs)
Creates a null envelope with the specified coordinate reference system.
|
ReferencedEnvelope3D(double x1,
double x2,
double y1,
double y2,
double z1,
double z2,
CoordinateReferenceSystem crs)
Creates an envelope for a region defined by maximum and minimum values.
|
ReferencedEnvelope3D(Envelope envelope)
Creates a new envelope from an existing OGC envelope.
|
ReferencedEnvelope3D(Envelope envelope,
CoordinateReferenceSystem crs)
Creates a new envelope from an existing JTS envelope.
|
ReferencedEnvelope3D(ReferencedEnvelope3D envelope)
Creates a new envelope from an existing envelope.
|
ReferencedEnvelope3D(ReferencedEnvelope3D envelope,
CoordinateReferenceSystem crs)
Creates a new envelope from an existing JTS envelope.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Console.test()
Invoked automatically when the
target pt instruction were executed and a test
tolerance were previously set. |
Modifier and Type | Method and Description |
---|---|
Measure |
DefaultGeographicCRS.distance(double[] coord1,
double[] coord2)
Computes the orthodromic distance between two points.
|
Measure |
AbstractCRS.distance(double[] coord1,
double[] coord2)
Computes the distance between two points.
|
Constructor and Description |
---|
AbstractDerivedCRS(Map<String,?> properties,
Conversion conversionFromBase,
CoordinateReferenceSystem base,
MathTransform baseToDerived,
CoordinateSystem derivedCS)
Constructs a derived CRS from a defining conversion.
|
AbstractDerivedCRS(Map<String,?> properties,
CoordinateReferenceSystem base,
MathTransform baseToDerived,
CoordinateSystem derivedCS)
Constructs a derived CRS from a set of properties.
|
DefaultDerivedCRS(Map<String,?> properties,
Conversion conversionFromBase,
CoordinateReferenceSystem base,
MathTransform baseToDerived,
CoordinateSystem derivedCS)
Constructs a derived CRS from a defining conversion.
|
DefaultDerivedCRS(Map<String,?> properties,
CoordinateReferenceSystem base,
MathTransform baseToDerived,
CoordinateSystem derivedCS)
Constructs a derived CRS from a set of properties.
|
DefaultDerivedCRS(Map<String,?> properties,
OperationMethod method,
CoordinateReferenceSystem base,
MathTransform baseToDerived,
CoordinateSystem derivedCS)
Deprecated.
Create explicitly a
DefiningConversion instead. |
DefaultDerivedCRS(String name,
CoordinateReferenceSystem base,
MathTransform baseToDerived,
CoordinateSystem derivedCS)
Constructs a derived CRS from a name.
|
DefaultProjectedCRS(Map<String,?> properties,
Conversion conversionFromBase,
GeographicCRS base,
MathTransform baseToDerived,
CartesianCS derivedCS)
Constructs a projected CRS from a defining conversion.
|
DefaultProjectedCRS(Map<String,?> properties,
GeographicCRS base,
MathTransform baseToDerived,
CartesianCS derivedCS)
Constructs a projected CRS from a set of properties.
|
DefaultProjectedCRS(Map<String,?> properties,
OperationMethod method,
GeographicCRS base,
MathTransform baseToDerived,
CartesianCS derivedCS)
Deprecated.
Create explicitly a
DefiningConversion instead. |
DefaultProjectedCRS(String name,
GeographicCRS base,
MathTransform baseToDerived,
CartesianCS derivedCS)
Constructs a projected CRS from a name.
|
Modifier and Type | Method and Description |
---|---|
Measure |
AbstractCS.distance(double[] coord1,
double[] coord2)
Computes the distance between two points.
|
Measure |
DefaultLinearCS.distance(double[] coord1,
double[] coord2)
Computes the distance between two points.
|
Measure |
DefaultCartesianCS.distance(double[] coord1,
double[] coord2)
Computes the distance between two points.
|
Measure |
DefaultVerticalCS.distance(double[] coord1,
double[] coord2)
Computes the distance between two points.
|
Measure |
DefaultTimeCS.distance(double[] coord1,
double[] coord2)
Computes the time difference between two points.
|
double |
DefaultEllipsoidalCS.getHeight(double[] coordinates)
Returns the height found in the specified coordinate point, always in meters.
|
double |
DefaultEllipsoidalCS.getLatitude(double[] coordinates)
Returns the latitude found in the specified coordinate point, always in decimal degrees.
|
double |
DefaultEllipsoidalCS.getLongitude(double[] coordinates)
Returns the longitude found in the specified coordinate point, always in decimal degrees.
|
Modifier and Type | Method and Description |
---|---|
static void |
DefaultOperationMethod.checkDimensions(OperationMethod method,
MathTransform transform)
Checks if an operation method and a math transform have a compatible number of source and
target dimensions.
|
Modifier and Type | Method and Description |
---|---|
void |
MathTransformBuilder.setMappedPositions(List<MappedPosition> positions)
Set the list of mapped positions.
|
void |
MathTransformBuilder.setSourcePoints(DirectPosition[] points)
Convenience method setting the source points in mapped
positions.
|
void |
MathTransformBuilder.setTargetPoints(DirectPosition[] points)
Convenience method setting the target points in mapped
positions.
|
Constructor and Description |
---|
AdvancedAffineBuilder(List<MappedPosition> vectors)
Constructs builder from set of GCPs
|
AdvancedAffineBuilder(List<MappedPosition> vectors,
AffineTransform2D affineTrans)
Constructs affine transform from GCPs and approximate values for calculation.
|
AffineTransformBuilder(List<MappedPosition> vectors)
Creates AffineTransformBuilder for the set of properties.
|
GridToEnvelopeMapper(GridEnvelope gridRange,
Envelope userRange)
Creates a new instance for the specified grid range and envelope.
|
ProjectiveTransformBuilder(List<MappedPosition> vectors)
Creates ProjectiveTransformBuilder for the set of properties.
|
RubberSheetBuilder(List<MappedPosition> vectors,
List<DirectPosition> vertices)
Creates the Builder from a List of control points and a List of four DirectPositions defining
the vertexes of the area for interpolation.
|
SimilarTransformBuilder(List<MappedPosition> vectors)
Creates SimilarTransformBuilder for the set of properties.
|
Modifier and Type | Method and Description |
---|---|
DirectPosition |
MathTransformProxy.transform(DirectPosition ptSrc,
DirectPosition ptDst)
Transforms the specified
ptSrc and stores the result in ptDst . |
Modifier and Type | Method and Description |
---|---|
DirectPosition |
PositionFactory.createDirectPosition(double[] coordinates)
Creates a direct position at the specified location specified by coordinates.
|
Modifier and Type | Method and Description |
---|---|
Arc |
GeometryFactory.createArc(Position startPoint,
Position endPoint,
double bulge,
double[] normal)
Takes two positions and the offset of the midpoint of the arc from the midpoint of the chord,
given by a distance and direction, and constructs the corresponding arc.
|
Arc |
GeometryFactory.createArc(Position startPoint,
Position midPoint,
Position endPoint)
Takes three positions and constructs the corresponding arc.
|
ArcByBulge |
GeometryFactory.createArcByBulge(Position startPoint,
Position endPoint,
double bulge,
double[] normal)
Equivalents to the second
constructor of arc, except the bulge representation is maintained.
|
ArcString |
GeometryFactory.createArcString(List<Position> points)
Takes a sequence of positions and constructs a sequence of 3-point arcs
jointing them.
|
ArcStringByBulge |
GeometryFactory.createArcStringByBulge(List<Position> points,
double[] bulges,
List<double[]> normals)
Equivalent to the second
constructor of arc, except the bulge representation is maintained internal to the object.
|
BSplineCurve |
GeometryFactory.createBSplineCurve(int degree,
PointArray points,
List<Knot> knots,
KnotType knotSpec)
Constructs a B-spline curve.
|
BSplineSurface |
GeometryFactory.createBSplineSurface(List<PointArray> points,
int[] degree,
List<Knot>[] knots,
KnotType knotSpec)
Constructs a B-spline surface.
|
Envelope |
GeometryFactory.createEnvelope(DirectPosition lowerCorner,
DirectPosition upperCorner)
Creates a new Envelope with the given corners.
|
Geodesic |
GeometryFactory.createGeodesic(Position startPoint,
Position endPoint)
Takes two positions and creates the appropriate geodesic joining them.
|
GeodesicString |
GeometryFactory.createGeodesicString(List<Position> points)
Takes two or more positions, interpolates using a geodesic defined from the geoid (or
ellipsoid) of the coordinate reference system being
used, and creates the appropriate geodesic string joining them.
|
LineSegment |
GeometryFactory.createLineSegment(Position startPoint,
Position endPoint)
Takes two positions and creates the appropriate line segment joining them.
|
LineString |
GeometryFactory.createLineString(List<Position> points)
Takes two or more positions and creates the appropriate line string joining them.
|
Polygon |
GeometryFactory.createPolygon(SurfaceBoundary boundary)
Creates a polygon directly from a set of boundary curves (organized into a surface boundary)
which shall be defined using coplanar positions as control points.
|
Polygon |
GeometryFactory.createPolygon(SurfaceBoundary boundary,
Surface spanSurface)
Creates a polygon lying on a spanning surface.
|
PolyhedralSurface |
GeometryFactory.createPolyhedralSurface(List<Polygon> tiles)
Constructs polyhedral surface from the facet polygons.
|
Tin |
GeometryFactory.createTin(Set<Position> post,
Set<LineString> stopLines,
Set<LineString> breakLines,
double maxLength)
Constructs a restricted Delaunay network from triangle corners (posts), breaklines,
stoplines, and maximum length of a triangle side.
|
Modifier and Type | Method and Description |
---|---|
Curve |
PrimitiveFactory.createCurve(List<CurveSegment> segments)
Takes a list of curve segments with the appropriate end-to-start
relationships and creates a curve.
|
Point |
PrimitiveFactory.createPoint(double[] coordinates)
Creates a point at the specified location specified by coordinates.
|
Point |
PrimitiveFactory.createPoint(Position position)
Creates a point at the specified position.
|
Primitive |
PrimitiveFactory.createPrimitive(Envelope envelope)
Returns an envelope as a primitive.
|
Ring |
PrimitiveFactory.createRing(List<OrientableCurve> curves)
Constructs a ring out of its component curves.
|
Solid |
PrimitiveFactory.createSolid(SolidBoundary boundary)
Constructs a solid by indicating its boundary as a collection of
shells organized into a solid boundary.
|
Surface |
PrimitiveFactory.createSurface(List<SurfacePatch> surfaces)
Takes a list of surface patches with the appropriate side-toside
relationships and creates a surface.
|
Surface |
PrimitiveFactory.createSurface(SurfaceBoundary boundary)
Constructs a surface by indicating its boundary as a collection of
curves organized into the specified surface
boundary.
|
SurfaceBoundary |
PrimitiveFactory.createSurfaceBoundary(Ring exterior,
List<Ring> interiors)
Constructs a new surface boundary object representing the
boundary of a two-dimensional surface.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
MathTransform.derivative(DirectPosition point)
Gets the derivative of this transform at a point.
|
DirectPosition |
MathTransform.transform(DirectPosition ptSrc,
DirectPosition ptDst)
Transforms the specified
ptSrc and stores the result in ptDst . |
Copyright © 1996–2019 Geotools. All rights reserved.