// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-#include <SelectBasics_SensitiveEntity.ixx>
+#include <SelectBasics_SensitiveEntity.hxx>
+
+#include <SelectBasics_EntityOwner.hxx>
#include <TColStd_HArray1OfBoolean.hxx>
+IMPLEMENT_STANDARD_RTTIEXT(SelectBasics_SensitiveEntity, Standard_Transient)
+
//=======================================================================
// function : SelectBasics_SensitiveEntity
// purpose : Creates new empty sensitive entity instance
//=======================================================================
-SelectBasics_SensitiveEntity::SelectBasics_SensitiveEntity (const Handle(SelectBasics_EntityOwner)& theOwnerId,
- const Standard_Real theSensFactor)
+SelectBasics_SensitiveEntity::SelectBasics_SensitiveEntity (const Handle(SelectBasics_EntityOwner)& theOwnerId)
: myOwnerId (theOwnerId),
- mySFactor (theSensFactor) {}
+ mySFactor (2) {}
//=======================================================================
// function : Set
{
myOwnerId = theOwnerId;
}
-
-//=======================================================================
-// function : OwnerId
-// purpose : Returns pointer to owner of the entity
-//=======================================================================
-const Handle(SelectBasics_EntityOwner)& SelectBasics_SensitiveEntity::OwnerId() const
-{
- return myOwnerId;
-}