Include :
- aggiunta GetPoint a Plane3d.
This commit is contained in:
+4
-4
@@ -42,14 +42,14 @@ class Plane3d
|
||||
{ m_vtN = V_NULL ;
|
||||
m_dDist = 0 ;
|
||||
}
|
||||
bool IsValid( void) const
|
||||
{ return ! m_vtN.IsSmall() ; }
|
||||
const Vector3d& GetVersN( void) const
|
||||
{ return m_vtN ; }
|
||||
double GetDist( void) const
|
||||
{ return m_dDist ; }
|
||||
|
||||
public :
|
||||
bool IsValid( void) const
|
||||
{ return ! m_vtN.IsSmall() ; }
|
||||
Point3d GetPoint( void) const
|
||||
{ return ( ORIG + m_dDist * m_vtN) ; }
|
||||
void Translate( const Vector3d& vtMove)
|
||||
{ Point3d ptP = ORIG + m_dDist * m_vtN ;
|
||||
ptP.Translate( vtMove) ;
|
||||
|
||||
@@ -29,4 +29,5 @@ EGK_EXPORT ISurfTriMesh* GetSurfTriMeshPyramid( double dDimX, double dDimY, doub
|
||||
EGK_EXPORT ISurfTriMesh* GetSurfTriMeshCylinder( double dRadius, double dHeight, double dLinTol) ;
|
||||
EGK_EXPORT ISurfTriMesh* GetSurfTriMeshCone( double dRadius, double dHeight, double dLinTol) ;
|
||||
EGK_EXPORT ISurfTriMesh* GetSurfTriMeshSphere( double dRadius, double dLinTol) ;
|
||||
EGK_EXPORT ISurfTriMesh* GetSurfTriMeshPlaneInBox( const Plane3d& plPlane, const BBox3d& b3Box) ;
|
||||
|
||||
|
||||
@@ -241,6 +241,7 @@ EXE_EXPORT int ExeCreateSurfFrRectangle3P( int nParentId, const Point3d& ptIni,
|
||||
EXE_EXPORT int ExeCreateSurfFrStadium( int nParentId, const Point3d& ptIni, const Point3d& ptCross, int nRefType) ;
|
||||
EXE_EXPORT int ExeCreateSurfFrDisk( int nParentId, const Point3d& ptOrig, double dRad, int nRefType) ;
|
||||
EXE_EXPORT int ExeCreateSurfTmPlaneInBBox( int nParentId, const Point3d& ptP, const Vector3d& vtN, const BBox3d& b3Box, int nRefType) ;
|
||||
EXE_EXPORT int ExeCreateSurfTmConvexHullInBBox( int nParentId, int nId, const BBox3d& b3Box, int nRefType) ;
|
||||
EXE_EXPORT int ExeCreateSurfTmBBox( int nParentId, const BBox3d& b3Box, int nRefType) ;
|
||||
EXE_EXPORT int ExeCreateSurfTmBox( int nParentId, const Point3d& ptIni, const Point3d& ptCross,
|
||||
const Point3d& ptDir, double dHeight, int nRefType) ;
|
||||
|
||||
Reference in New Issue
Block a user