Example #1
0
 private static IEnumerable <IEnumerable <Segment2D> > GetLayerPolygons(MacroStabilityInwardsSoilProfile2D soilProfile2D)
 {
     return(soilProfile2D.Layers
            .Select(l => Math2D.ConvertPointsToPolygonSegments(l.OuterRing.Points))
            .ToArray());
 }