Ejemplo n.º 1
0
 public static BuildingDimensionsDto ToBuildingDimensionsDto(this BuildingDimensions buildingDimensions)
 {
     return(new BuildingDimensionsDto
     {
         baseAltitude = buildingDimensions.BaseAltitude,
         topAltitude = buildingDimensions.TopAltitude,
         centroid = buildingDimensions.Centroid.ToLatLongInterop()
     });
 }
Ejemplo n.º 2
0
 public BuildingInformation(
     string buildingId,
     BuildingDimensions buidingDimensions,
     ReadOnlyCollection <BuildingContour> buildingContours)
 {
     this.BuildingId         = buildingId;
     this.BuildingDimensions = buidingDimensions;
     this.BuildingContours   = buildingContours;
 }