类的使用
com.supermap.data.Matrix
-
使用Matrix的程序包 程序包 说明 com.supermap.data com.supermap.realspace com.supermap.realspace.threeddesigner -
-
com.supermap.data中Matrix的使用
返回Matrix的com.supermap.data中的方法 限定符和类型 方法和说明 static MatrixMatrix. computeRotateMatrix(double dAngle, Vector3D vecRotateAxis)计算绕旋转轴旋转指定角度的旋转矩阵。static MatrixMatrix. computeRotateMatrix(double dAngle, Vector3D origin, Vector3D vecRotateAxis)计算绕旋转中心及旋转轴旋转指定角度的旋转矩阵。static MatrixMatrix. computeRotateMatrix(Vector3D vectorTo, Vector3D vectorFrom)计算向量B到向量A的旋转矩阵。MatrixCSGNode. getMatrix()设置/返回CSG节点的位置。Matrix[]Mesh3DPartReferenceInfo. getMatrix()获取实例化矩阵MatrixMaterial3D. getMatrix(int iTexture)返回材质矩阵。static MatrixMatrix. getMirrorMatrix(Plane plane)返回镜像矩阵。MatrixMatrix. invert()MatrixMatrix. multipy(Matrix mat)矩阵相乘。static MatrixMatrix. parseMatrix(String strMatrix)返回一个由指定字符串构造的新矩阵。static MatrixMatrix. rotateX(double angle)X方向旋转static MatrixMatrix. rotateXYZ(double rotationX, double rotationY, double rotationZ)X、Y、Z方向都进行旋转static MatrixMatrix. rotateY(double angle)Y方向旋转static MatrixMatrix. rotateZ(double angle)Z方向旋转static MatrixMatrix. scale(double x, double y, double z)对模型骨架进行缩放。static MatrixMatrix. translate(double x, double y, double z)平移,单位为米。MatrixMatrix. transpose()参数类型为Matrix的com.supermap.data中的方法 限定符和类型 方法和说明 CSGSimpleNodeCSGEntity. multiply(Matrix matrix)修改CSG实体的位置,返回新的CSG简单节点。voidCSGNode. multiply(Matrix matrix)修改Node对象的位置。Vector3DVector3D. multiply(Matrix matrix)返回当前向量矩阵变换后的新向量。static Point3DMatrix. multiply(Point3D pnt, Matrix mat)点与矩阵相乘。static Vector3DVector3D. multiply(Vector3D v, Matrix matrix)返回三维向量矩阵变换后的新向量voidVector3D. multiplyEquals(Matrix matrix)当前向量矩阵变换,改变当前向量自身。MatrixMatrix. multipy(Matrix mat)矩阵相乘。voidModel. setMatrix(Matrix matrix)voidMultiMesh3D. setMatrix(Matrix mat)设置矩阵。voidGeoModel3D. setMatrix(Point3D point, Matrix matrix)模型绕指定点矩阵变换。参数类型为Matrix的com.supermap.data中的构造器 构造器和说明 Matrix(Matrix matrix)通过克隆得到一个Matrix新对象。 -
com.supermap.realspace中Matrix的使用
返回Matrix的com.supermap.realspace中的方法 限定符和类型 方法和说明 static MatrixScene. getENUTransformMatrix(Point3D point)返回插入点经纬度矩阵。MatrixInstanceObjectState. getLocalMatrix()获取模型自身变换的一些信息,包括偏移、缩放等,矩阵是4*4参数类型为Matrix的com.supermap.realspace中的方法 限定符和类型 方法和说明 voidInstanceObjectState. setLocalMatrix(Matrix localMatrix)设置模型自身变换的一些信息,包括偏移、缩放等,矩阵是4*4 -
com.supermap.realspace.threeddesigner中Matrix的使用
返回Matrix的com.supermap.realspace.threeddesigner中的方法 限定符和类型 方法和说明 MatrixCSGProfile. getMatrix()获取位置矩阵。参数类型为Matrix的com.supermap.realspace.threeddesigner中的方法 限定符和类型 方法和说明 static ModelModelBuilder3D. convexHull(Skeleton skeleton, Matrix matrix)计算凸包voidCSGProfile. setMatrix(Matrix matrix)设置位置矩阵。
-
Copyright © 2021–2025 SuperMap. All rights reserved.