#include "CurveCreator_Section.hxx"
#include "CurveCreator_UtilsICurve.hxx"
-#include <Basics_OCCTVersion.hxx>
-
#include <GEOMUtils.hxx>
#include <gp_Pln.hxx>
// we need the projection to the XOY plane
// 1. find a point in the plane of the eye and the normal to the plane
Standard_Real X, Y, Z;
- Quantity_Parameter Vx, Vy, Vz;
+ Standard_Real Vx, Vy, Vz;
aView->ConvertWithProj( x, y, X, Y, Z, Vx, Vy, Vz );
// 2. build a ray from the point by the normal to the XOY plane and intersect it
for( int i=0; i<aSize; i++ )
{
for( aSelection->Init(); aSelection->More(); aSelection->Next() )
- {
-#if OCC_VERSION_LARGE > 0x06080100
+ {
const Handle(SelectMgr_SensitiveEntity) aHSenEntity = aSelection->Sensitive();
if( aHSenEntity.IsNull() )
continue;
Handle(SelectBasics_SensitiveEntity) aSenEntity = aHSenEntity->BaseSensitive();
-#else
- Handle(SelectBasics_SensitiveEntity) aSenEntity = aSelection->Sensitive();
-#endif
Handle(Select3D_SensitivePoint) aSenPnt = Handle(Select3D_SensitivePoint)::DownCast( aSenEntity );