Class: Geometry3D

Geometry3D

所有三维几何类的基类。

new Geometry3D()

Usage
// 浏览器
<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
  new L.supermap.Geometry3D();
  
  // 弃用的写法
  new SuperMap.Geometry3D();

</script>

// ES6 Import
import { Geometry3D } from '@supermap/iclient-leaflet';

new Geometry3D();

common/commontypes/Geometry3D.js, line 7

Members

三维几何对象的位置。

rotationXnumber

三维几何对象沿 X 轴方向的旋转角度,单位为度。

rotationYnumber

三维几何对象沿 Y 轴方向的旋转角度,单位为度。

rotationZnumber

三维几何对象沿 Z 轴方向的旋转角度,单位为度。

scaleXnumber

三维几何对象沿 X 轴方向的缩放比例。

scaleYnumber

三维几何对象沿 Y 轴方向的缩放比例。

scaleZnumber

三维几何对象沿 Z 轴方向的缩放比例。

Methods

destroy()

common/commontypes/Geometry3D.js, line 67

释放资源。