com.supermap.data
类 CSGEntity

java.lang.Object
  继承者 com.supermap.data.CSGEntity
直接已知子类:
BendingCylinder, Box, Cone, Cylinder, Ellipsoid, EllipticRing, ExtrudedBody, LoftedBody, Pyramid, RectangularRing, Revol, SlopedCylinder, Sphere, Table3D, Torus, TruncatedCone, Wedge

public abstract class CSGEntity
extends java.lang.Object

CSG实体基类,提供了基本的实体操作方法。


构造方法摘要
CSGEntity()
           
 
方法摘要
 CSGBooleanNode difference(CSGNode csgNode)
          求差
 double getArea()
          获取面积
 BoundingBox getBoundingBox()
          三维几何对象的包围盒
 CSGEntityType getType()
           
 double getVolume()
          获取体积
 CSGBooleanNode intersect(CSGNode rightNode)
          求交
 CSGSimpleNode multiply(Matrix matrix)
          矩阵相乘
 CSGSimpleNode rotate(Point3D rotate)
          旋转
 CSGSimpleNode scale(Point3D scale)
          缩放
 CSGSimpleNode translate(Point3D translate)
          平移
 CSGBooleanNode union(CSGEntity csgEntity)
          求和
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CSGEntity

public CSGEntity()
方法详细信息

getBoundingBox

public BoundingBox getBoundingBox()
三维几何对象的包围盒


getType

public CSGEntityType getType()

union

public CSGBooleanNode union(CSGEntity csgEntity)
求和


intersect

public CSGBooleanNode intersect(CSGNode rightNode)
求交


difference

public CSGBooleanNode difference(CSGNode csgNode)
求差


multiply

public CSGSimpleNode multiply(Matrix matrix)
矩阵相乘


translate

public CSGSimpleNode translate(Point3D translate)
平移


scale

public CSGSimpleNode scale(Point3D scale)
缩放


rotate

public CSGSimpleNode rotate(Point3D rotate)
旋转


getArea

public double getArea()
获取面积


getVolume

public double getVolume()
获取体积