You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
485 B
JavaScript
13 lines
485 B
JavaScript
import defined from "../Core/defined.js";
|
|
import Ellipsoid from "../Core/Ellipsoid.js";
|
|
import WallOutlineGeometry from "../Core/WallOutlineGeometry.js";
|
|
|
|
function createWallOutlineGeometry(wallGeometry, offset) {
|
|
if (defined(offset)) {
|
|
wallGeometry = WallOutlineGeometry.unpack(wallGeometry, offset);
|
|
}
|
|
wallGeometry._ellipsoid = Ellipsoid.clone(wallGeometry._ellipsoid);
|
|
return WallOutlineGeometry.createGeometry(wallGeometry);
|
|
}
|
|
export default createWallOutlineGeometry;
|