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