Loading cesiumjs4gwt-main/pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ <parent> <artifactId>cesiumjs4gwt</artifactId> <groupId>org.cesiumjs</groupId> <version>1.91.1</version> <version>1.92.0</version> </parent> <name>CesiumJS GWT Wrapper</name> Loading cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/CesiumEntryPoint.java +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ public class CesiumEntryPoint implements EntryPoint { Cesium.fixSmartGWT(); GWT.log("Cesium GTW module loaded"); if (!Cesium.isInitialized()) { String message = "The Core of Cesium (Cesium.js) JavaScript libraryes not loaded.\n" String message = "The Core of Cesium (Cesium.js) JavaScript libraries not loaded.\n" + "If you inherit Cesium from NoScript gwt.xml, \nyou need include <script src='..../Cesium.js'> " + "to load Cesium, \nalso you need include necessary css (Example: <link type=\"text/css\" href=\".../Cesium/Widgets/widget.css\">.\n" + "By default Cesium path is [GWT App Name]/js/Cesium"; Loading cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/core/Cartesian2.java +11 −0 Original line number Diff line number Diff line Loading @@ -555,6 +555,17 @@ public class Cartesian2 implements Packable { @JsMethod public static native Cartesian2[] unpackArray(JsArrayNumber array, Cartesian2[] result); /** * Constrain a value to lie between two values. * @param value The value to clamp. * @param min The minimum bound. * @param max The maximum bound. * @param result The object into which to store the result. * @return The clamped value such that min <= result <= max. */ @JsMethod public static native Cartesian2 clamp(Cartesian2 value, Cartesian2 min, Cartesian2 max, Cartesian2 result); /** * Duplicates this Cartesian2 instance. * Loading cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/core/Cartesian3.java +11 −0 Original line number Diff line number Diff line Loading @@ -872,6 +872,17 @@ public class Cartesian3 implements Packable { @JsMethod public static native Cartesian3[] unpackArray(JsArrayNumber array, Cartesian3[] result); /** * Constrain a value to lie between two values. * @param cartesian The value to clamp. * @param min The minimum bound. * @param max The maximum bound. * @param result The object into which to store the result. * @return The clamped value such that min <= value <= max. */ @JsMethod public static native Cartesian3 clamp(Cartesian3 cartesian, Cartesian3 min, Cartesian3 max, Cartesian3 result); /** * Duplicates this Cartesian3 instance. * Loading cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/core/Cartesian4.java +11 −0 Original line number Diff line number Diff line Loading @@ -130,6 +130,17 @@ public class Cartesian4 implements Packable { @JsMethod public static native Cartesian4 add(Cartesian4 left, Cartesian4 right, Cartesian4 result); /** * Constrain a value to lie between two values. * @param value The value to clamp. * @param min The minimum bound. * @param max The maximum bound. * @param result The object into which to store the result. * @return The clamped value such that min <= result <= max. */ @JsMethod public static native Cartesian4 clamp(Cartesian4 value, Cartesian4 min, Cartesian4 max, Cartesian4 result); /** * Duplicates a Cartesian4 instance. * Loading Loading
cesiumjs4gwt-main/pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ <parent> <artifactId>cesiumjs4gwt</artifactId> <groupId>org.cesiumjs</groupId> <version>1.91.1</version> <version>1.92.0</version> </parent> <name>CesiumJS GWT Wrapper</name> Loading
cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/CesiumEntryPoint.java +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ public class CesiumEntryPoint implements EntryPoint { Cesium.fixSmartGWT(); GWT.log("Cesium GTW module loaded"); if (!Cesium.isInitialized()) { String message = "The Core of Cesium (Cesium.js) JavaScript libraryes not loaded.\n" String message = "The Core of Cesium (Cesium.js) JavaScript libraries not loaded.\n" + "If you inherit Cesium from NoScript gwt.xml, \nyou need include <script src='..../Cesium.js'> " + "to load Cesium, \nalso you need include necessary css (Example: <link type=\"text/css\" href=\".../Cesium/Widgets/widget.css\">.\n" + "By default Cesium path is [GWT App Name]/js/Cesium"; Loading
cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/core/Cartesian2.java +11 −0 Original line number Diff line number Diff line Loading @@ -555,6 +555,17 @@ public class Cartesian2 implements Packable { @JsMethod public static native Cartesian2[] unpackArray(JsArrayNumber array, Cartesian2[] result); /** * Constrain a value to lie between two values. * @param value The value to clamp. * @param min The minimum bound. * @param max The maximum bound. * @param result The object into which to store the result. * @return The clamped value such that min <= result <= max. */ @JsMethod public static native Cartesian2 clamp(Cartesian2 value, Cartesian2 min, Cartesian2 max, Cartesian2 result); /** * Duplicates this Cartesian2 instance. * Loading
cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/core/Cartesian3.java +11 −0 Original line number Diff line number Diff line Loading @@ -872,6 +872,17 @@ public class Cartesian3 implements Packable { @JsMethod public static native Cartesian3[] unpackArray(JsArrayNumber array, Cartesian3[] result); /** * Constrain a value to lie between two values. * @param cartesian The value to clamp. * @param min The minimum bound. * @param max The maximum bound. * @param result The object into which to store the result. * @return The clamped value such that min <= value <= max. */ @JsMethod public static native Cartesian3 clamp(Cartesian3 cartesian, Cartesian3 min, Cartesian3 max, Cartesian3 result); /** * Duplicates this Cartesian3 instance. * Loading
cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/core/Cartesian4.java +11 −0 Original line number Diff line number Diff line Loading @@ -130,6 +130,17 @@ public class Cartesian4 implements Packable { @JsMethod public static native Cartesian4 add(Cartesian4 left, Cartesian4 right, Cartesian4 result); /** * Constrain a value to lie between two values. * @param value The value to clamp. * @param min The minimum bound. * @param max The maximum bound. * @param result The object into which to store the result. * @return The clamped value such that min <= result <= max. */ @JsMethod public static native Cartesian4 clamp(Cartesian4 value, Cartesian4 min, Cartesian4 max, Cartesian4 result); /** * Duplicates a Cartesian4 instance. * Loading