Geographic bounding circle based on center and range.
More...
|
| BoundingCircle (GeoPos center, double r) |
| Construct bounding circle from center and radius in meters.
|
|
| BoundingCircle (GeoPos p1, GeoPos p2) |
| Construct bounding circle from 2 points.
|
|
| BoundingCircle (GeoPos p1, GeoPos p2, GeoPos p3) |
| Construct bounding circle passing through 3 points.
|
|
bool | Inside (GeoPos p) |
| Check is a position is inside this bounding circle.
|
|
|
static int | RngSeed = 0 |
| For testing: set specific random seed to allow reproduceable tests.
|
|
|
GeoPos | Center [get, set] |
| Center of bounding circle.
|
|
double | Radius [get, set] |
| Radius of bounding circle in meters.
|
|
Geographic bounding circle based on center and range.
◆ Calculate()
Calculate bounding circle based on an array of positions.
This has a worst-case complexity of O(n^2), but typical performance for randomly ordered points is O(n). Input points are shuffled to prevent degenerate cases.
The documentation for this class was generated from the following file:
- Src/Libraries/Teleplan.C4IS.Geo/Objects/BoundingCircle.cs