C# Class MapAround.Extensions.Surfaces.IsolineBuilder

Builds isolines and polygons of z-value ranges.
Datei anzeigen Open project: gkrsu/maparound.core

Public Methods

Method Description
BuildIsolines ( IEnumerable surfacePoints, double zLevels ) : Polyline[]

Builds isolines.

BuildIsolines ( IEnumerable triangles, double zLevels ) : Polyline[]

Builds isolines.

BuildPolygonsForLevelRanges ( IEnumerable surfacePoints, double zLevels ) : LevelRangePolygon[]

Builds polygons for the z-value ranges.

BuildPolygonsForLevelRanges ( IEnumerable triangles, double zLevels ) : LevelRangePolygon[]

Builds polygons for the z-value ranges.

Private Methods

Method Description
assignLevelsToPolygons ( IEnumerable surfacePoints, IList polygons, List triangles, double zLevels, BoundingRectangle bounds ) : LevelRangePolygon[]
assignLevelsToPolygons ( IList polygons, List triangles, double zLevels, BoundingRectangle bounds ) : LevelRangePolygon[]
assignLevelsToPolygons ( double surfaceMin, double surfaceMax, IList polygons, List triangles, double zLevels, BoundingRectangle bounds ) : LevelRangePolygon[]
buildIsolinesInternal ( IEnumerable surfacePoints, double zLevels, List triangles ) : Polyline[]
buildIsolinesInternal ( IEnumerable triangles, double zLevels ) : Polyline[]
getIsoline ( List triangles, double z ) : Polyline
getPathsForPolygonBuilding ( IEnumerable surfacePoints, IEnumerable isolines, IList &convexHull ) : List
getPathsForPolygonBuilding ( IEnumerable isolines, IList convexHull ) : List
getPathsForPolygonBuilding ( IEnumerable triangles, IEnumerable isolines, IList &convexHull ) : List
getPlaneSegmentIntersection ( Coordinate3D v1, Coordinate3D v2, double z ) : Coordinate3D
getRange ( double z, IEnumerable ranges ) : LevelRange
getRanges ( double surfaceMin, double surfaceMax, double zLevels ) : LevelRange[]
getZ ( ICoordinate p, Coordinate3D v1, Coordinate3D v2, Coordinate3D v3 ) : double
liesBetween ( double z, double z1, double z2 ) : bool

Method Details

BuildIsolines() public method

Builds isolines.
public BuildIsolines ( IEnumerable surfacePoints, double zLevels ) : Polyline[]
surfacePoints IEnumerable A 3D-coordinates defining source
zLevels double A descending array of z-values that define cutting planes
return Polyline[]

BuildIsolines() public method

Builds isolines.
public BuildIsolines ( IEnumerable triangles, double zLevels ) : Polyline[]
triangles IEnumerable An object that enumerates triangles defining surface. All triangle coordinates should be instances of the MapAround.Geometry.Coordinate3D.
zLevels double A descending array of z-values that define cutting planes
return Polyline[]

BuildPolygonsForLevelRanges() public method

Builds polygons for the z-value ranges.
public BuildPolygonsForLevelRanges ( IEnumerable surfacePoints, double zLevels ) : LevelRangePolygon[]
surfacePoints IEnumerable A 3D-coordinates defining source
zLevels double A descending array of z-values that define ranges
return LevelRangePolygon[]

BuildPolygonsForLevelRanges() public method

Builds polygons for the z-value ranges.
public BuildPolygonsForLevelRanges ( IEnumerable triangles, double zLevels ) : LevelRangePolygon[]
triangles IEnumerable An object that enumerates triangles defining surface. All triangle coordinates should be instances of the MapAround.Geometry.Coordinate3D.
zLevels double A descending array of z-values that define ranges
return LevelRangePolygon[]