Loading cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/core/AxisAlignedBoundingBox.java +20 −0 Original line number Diff line number Diff line Loading @@ -141,6 +141,26 @@ public class AxisAlignedBoundingBox { @JsMethod public static native boolean equals(AxisAlignedBoundingBox left, AxisAlignedBoundingBox right); /** * Creates an instance of an AxisAlignedBoundingBox from its corners. * @param minimum The minimum point along the x, y, and z axes. * @param maximum The maximum point along the x, y, and z axes. * @return The modified result parameter or a new AxisAlignedBoundingBox instance if one was not provided. */ @JsMethod public static native AxisAlignedBoundingBox fromCorners(Cartesian3 minimum, Cartesian3 maximum); /** * Creates an instance of an AxisAlignedBoundingBox from its corners. * @param minimum The minimum point along the x, y, and z axes. * @param maximum The maximum point along the x, y, and z axes. * @param result The object onto which to store the result. * @return The modified result parameter or a new AxisAlignedBoundingBox instance if one was not provided. */ @JsMethod public static native AxisAlignedBoundingBox fromCorners(Cartesian3 minimum, Cartesian3 maximum, AxisAlignedBoundingBox result); /** * Computes an instance of an AxisAlignedBoundingBox. The box is determined by * finding the points spaced the farthest apart on the x, y, and z axes. Loading Loading
cesiumjs4gwt-main/src/main/java/org/cesiumjs/cs/core/AxisAlignedBoundingBox.java +20 −0 Original line number Diff line number Diff line Loading @@ -141,6 +141,26 @@ public class AxisAlignedBoundingBox { @JsMethod public static native boolean equals(AxisAlignedBoundingBox left, AxisAlignedBoundingBox right); /** * Creates an instance of an AxisAlignedBoundingBox from its corners. * @param minimum The minimum point along the x, y, and z axes. * @param maximum The maximum point along the x, y, and z axes. * @return The modified result parameter or a new AxisAlignedBoundingBox instance if one was not provided. */ @JsMethod public static native AxisAlignedBoundingBox fromCorners(Cartesian3 minimum, Cartesian3 maximum); /** * Creates an instance of an AxisAlignedBoundingBox from its corners. * @param minimum The minimum point along the x, y, and z axes. * @param maximum The maximum point along the x, y, and z axes. * @param result The object onto which to store the result. * @return The modified result parameter or a new AxisAlignedBoundingBox instance if one was not provided. */ @JsMethod public static native AxisAlignedBoundingBox fromCorners(Cartesian3 minimum, Cartesian3 maximum, AxisAlignedBoundingBox result); /** * Computes an instance of an AxisAlignedBoundingBox. The box is determined by * finding the points spaced the farthest apart on the x, y, and z axes. Loading