X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.district.network%2Fscl%2FSimantics%2FDistrict.scl;h=5eaa05760560d31a385aadfa7a0bd1bce16dae22;hb=refs%2Fheads%2Frelease%2F1.43.0.1;hp=8e96b518a2dbb98a548de21eb23e984adaf2ebf5;hpb=426a4ef58cf0b7e755a9111881800806f1374d59;p=simantics%2Fdistrict.git diff --git a/org.simantics.district.network/scl/Simantics/District.scl b/org.simantics.district.network/scl/Simantics/District.scl index 8e96b518..5eaa0576 100644 --- a/org.simantics.district.network/scl/Simantics/District.scl +++ b/org.simantics.district.network/scl/Simantics/District.scl @@ -8,6 +8,7 @@ import "MSet" as MSet importJava "org.simantics.district.network.DistrictNetworkUtil" where calculateDistance :: Resource -> Resource -> Double + nearbyVertices :: Resource -> Double -> [Resource] importJava "org.simantics.district.network.ModelledCRS" where xToLongitude :: Double -> Double @@ -152,3 +153,7 @@ dnElementsMappedToComponents mappedComponents = mapMaybe possibleDNElementMapped importJava "org.simantics.district.network.DistrictNetworkUtil" where createNetworkDiagram :: Resource -> Resource -> String -> Resource -> Resource -> Resource -> Resource -> Resource -> Resource + changeMappingType :: Resource -> [Resource] -> () + findDNElementById :: Resource -> String -> Maybe Resource + findDNElementByXYCoordinates :: Resource -> Double -> Double -> Double -> [Resource] +