3b6de06fd9
- a BBox3d aggiunti metodi SqMaxDistFromPoint, SqMaxDistFromPointXY, MaxDistFromPoint e MaxDistFromPointXY - a IntersLineSurfTm e IntersParLine aggiunto parametro bFinite per indicare se linea finita o infinita.
33 lines
1.0 KiB
C++
33 lines
1.0 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2016-2016
|
|
//----------------------------------------------------------------------------
|
|
// File : IntersLineSurfTm.h Data : 06.11.16 Versione : 1.6w2
|
|
// Contenuto : Dichiarazioni per intersezioni Linea/SurfTriMesh.
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 06.11.16 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "HashGrids2d.h"
|
|
#include "/EgtDev/Include/EGkIntersLineSurfTm.h"
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
class IntersParLinesSurfTm
|
|
{
|
|
public :
|
|
IntersParLinesSurfTm( const Frame3d& frLines, const ISurfTriMesh& Stm) ;
|
|
bool GetInters( const Point3d& ptL, double dLen, ILSIVECTOR& vInfo, bool bFinite = true) ;
|
|
|
|
private :
|
|
bool m_bOk ;
|
|
const Frame3d m_frLines ;
|
|
const ISurfTriMesh* m_pSTm ;
|
|
HashGrids2d m_HGrids ;
|
|
} ;
|