xtorcga
Version:
Xtor Compute Geometry Algorithm Libary 计算几何算法库
27 lines (26 loc) • 870 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Cartographic = void 0;
/*
* @Description :
* @Author : 赵耀圣
* @QQ : 549184003
* @Date : 2021-08-04 15:23:31
* @LastEditTime : 2021-08-04 15:27:07
* @FilePath : \cga.js\src-gis\math\Cartographic.ts
*/
var Cartographic = /** @class */ (function () {
function Cartographic(longitude, latitude, height) {
if (longitude === void 0) { longitude = 0; }
if (latitude === void 0) { latitude = 0; }
if (height === void 0) { height = 0; }
this.longitude = longitude;
this.latitude = latitude;
this.height = height;
}
Cartographic.fromGVec3 = function (vec) {
return new Cartographic();
};
return Cartographic;
}());
exports.Cartographic = Cartographic;