isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
boundingbox.h
1 //-*- C++ -*-
2 //-*- coding: utf-8 -*-
3 //
4 // Author: Piyush Agram
5 // Copyright 2019
6 
7 #pragma once
8 
9 #include <isce3/core/LUT2d.h>
10 
11 //isce3::product
12 #include <isce3/product/RadarGridParameters.h>
13 
14 //isce3::geometry
15 #include "Shapes.h"
16 #include "DEMInterpolator.h"
17 
18 //Declaration
19 namespace isce3{
20  namespace geometry{
21 
44  Perimeter
46  const isce3::core::Orbit &orbit,
47  const isce3::core::ProjectionBase *proj,
48  const isce3::core::LUT2d<double> &doppler = {},
49  const DEMInterpolator& demInterp = DEMInterpolator(0.),
50  const int pointsPerEdge = 11,
51  const double threshold = 1.0e-8,
52  const int numiter = 15);
53 
69  const isce3::product::RadarGridParameters& radarGrid,
70  const isce3::core::Orbit& orbit,
71  const isce3::core::ProjectionBase* proj,
72  const isce3::core::LUT2d<double>& doppler = {},
73  const std::vector<double>& hgts = {isce3::core::GLOBAL_MIN_HEIGHT,
75  const double margin = 0.0, const int pointsPerEdge = 11,
76  const double threshold = 1.0e-8, const int numiter = 15,
77  bool ignore_out_of_range_exception = false);
78 
99  const isce3::product::RadarGridParameters& radarGrid,
100  const isce3::core::Orbit& orbit,
101  const isce3::core::ProjectionBase* proj,
102  const isce3::core::LUT2d<double>& doppler = {},
103  double min_height = isce3::core::GLOBAL_MIN_HEIGHT,
104  double max_height = isce3::core::GLOBAL_MAX_HEIGHT,
105  const double margin = 0.0, const int pointsPerEdge = 11,
106  const double threshold = 1.0e-8, const int numiter = 15,
107  const double height_threshold = 100);
108 }
109 }
110 //end of file
BoundingBox getGeoBoundingBoxHeightSearch(const isce3::product::RadarGridParameters &radarGrid, const isce3::core::Orbit &orbit, const isce3::core::ProjectionBase *proj, const isce3::core::LUT2d< double > &doppler={}, double min_height=isce3::core::GLOBAL_MIN_HEIGHT, double max_height=isce3::core::GLOBAL_MAX_HEIGHT, const double margin=0.0, const int pointsPerEdge=11, const double threshold=1.0e-8, const int numiter=15, const double height_threshold=100)
Compute bounding box with auto search within given min/ max height interval.
Definition: boundingbox.cpp:311
Definition: DEMInterpolator.h:22
Perimeter getGeoPerimeter(const isce3::product::RadarGridParameters &radarGrid, const isce3::core::Orbit &orbit, const isce3::core::ProjectionBase *proj, const isce3::core::LUT2d< double > &doppler={}, const DEMInterpolator &demInterp=DEMInterpolator(0.), const int pointsPerEdge=11, const double threshold=1.0e-8, const int numiter=15)
Compute the perimeter of a radar grid in map coordinates.
Definition: boundingbox.cpp:36
OGRLinearRing Perimeter
Same as GDAL&#39;s OGRLinearRing structure.
Definition: Shapes.h:13
BoundingBox getGeoBoundingBox(const isce3::product::RadarGridParameters &radarGrid, const isce3::core::Orbit &orbit, const isce3::core::ProjectionBase *proj, const isce3::core::LUT2d< double > &doppler={}, const std::vector< double > &hgts={isce3::core::GLOBAL_MIN_HEIGHT, isce3::core::GLOBAL_MAX_HEIGHT}, const double margin=0.0, const int pointsPerEdge=11, const double threshold=1.0e-8, const int numiter=15, bool ignore_out_of_range_exception=false)
Compute bounding box using min/ max altitude for quick estimates.
Definition: boundingbox.cpp:175
Definition: RadarGridParameters.h:15
OGREnvelope BoundingBox
Same as GDAL&#39;s OGREnvelope structure.
Definition: Shapes.h:16
const double GLOBAL_MIN_HEIGHT
Global minimum height.
Definition: Constants.h:50
const double GLOBAL_MAX_HEIGHT
Global maximum height.
Definition: Constants.h:53
Abstract base class for individual projections.
Definition: Projections.h:22
Sequence of platform ephemeris samples (state vectors) with uniform temporal spacing, supporting efficient lookup and interpolation.
Definition: Orbit.h:43

Generated for ISCE3.0 by doxygen 1.8.5.