public void TranslateLatLonToXYInMM() { var lengthPerDegree = TranslateToXYManually.GetDegreesPerAxis(testMinBounds, testMaxBounds, mmScale); result = MockGetPointFromLatLong(simpleAmenityNode, lengthPerDegree, testMinBounds); Assert.AreEqual(expectedAmenityNode[0] * mmScale, result[0], 0.01); Assert.AreEqual(expectedAmenityNode[1] * mmScale, result[1], 0.01); result = MockGetPointFromLatLong(simpleCraftNode, lengthPerDegree, testMinBounds); Assert.AreEqual(expectedCraftNode[0] * mmScale, result[0], 0.01); Assert.AreEqual(expectedCraftNode[1] * mmScale, result[1], 0.01); }
public override void MakeGeometryForComponentType() { // Translate OSM nodes to Rhino points this.foundNodes = TranslateToXYManually.NodePointsFromCoords(this.result); }
public override void MakeGeometryForComponentType() { // Translate OSM ways to Rhino polylines this.foundWays = TranslateToXYManually.WayPolylinesFromCoords(this.result); }
public override void MakeGeometryForComponentType() { // Translate OSM nodes to Rhino Surfaces this.foundBuildings = TranslateToXYManually.BuildingBrepsFromCoords(ref this.result, this.outputHeighed); }