1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0024814: Avoid using explicit names of Handle classes

Sources corrected replacing Handle_XXX by Handle(XXX)
This commit is contained in:
abv 2014-04-09 18:48:28 +04:00
parent 6fc9d72d9d
commit 857ffd5e57
211 changed files with 697 additions and 697 deletions

View File

@ -42,7 +42,7 @@ Standard_Boolean AIS_AttributeFilter::IsOk(const Handle(SelectMgr_EntityOwner)&
Standard_Boolean okstat = Standard_True;
//#ifndef DEB
Handle_SelectMgr_SelectableObject aSelectable = anObj->Selectable() ;
Handle(SelectMgr_SelectableObject) aSelectable = anObj->Selectable() ;
if( hasC && ((Handle(AIS_InteractiveObject)&) aSelectable)->HasColor() )
//#else
// if(hasC && ((Handle(AIS_InteractiveObject)&) anObj->Selectable())->HasColor())

View File

@ -178,9 +178,9 @@ void AIS_Axis::Compute(const Handle(PrsMgr_PresentationManager3d)&,
}
void AIS_Axis::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Geom_Transformation& aTransformation, const Handle_Prs3d_Presentation& aPresentation)
void AIS_Axis::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Geom_Transformation)& aTransformation, const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_Axis::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_Axis::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -237,9 +237,9 @@ void AIS_Chamf2dDimension::Compute(const Handle(Prs3d_Projector)& aProjector,
PrsMgr_PresentableObject::Compute( aProjector , aPresentation ) ;
}
void AIS_Chamf2dDimension::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Geom_Transformation& aTransformation, const Handle_Prs3d_Presentation& aPresentation)
void AIS_Chamf2dDimension::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Geom_Transformation)& aTransformation, const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_Chamf2dDimension::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_Chamf2dDimension::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -212,9 +212,9 @@ void AIS_Chamf3dDimension::Compute(const Handle(Prs3d_Projector)& aProjector,
PrsMgr_PresentableObject::Compute( aProjector , aPresentation ) ;
}
void AIS_Chamf3dDimension::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Geom_Transformation& aTransformation, const Handle_Prs3d_Presentation& aPresentation)
void AIS_Chamf3dDimension::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Geom_Transformation)& aTransformation, const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_Chamf3dDimension::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_Chamf3dDimension::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -87,11 +87,11 @@ void AIS_Circle::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPresenta
//purpose :
//=======================================================================
void AIS_Circle::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Geom_Transformation& aTransformation,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_Circle::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Geom_Transformation)& aTransformation,
const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_Circle::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_Circle::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -86,9 +86,9 @@ void AIS_ConcentricRelation::Compute(const Handle(PrsMgr_PresentationManager3d)&
}
}
void AIS_ConcentricRelation::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Geom_Transformation& aTransformation, const Handle_Prs3d_Presentation& aPresentation)
void AIS_ConcentricRelation::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Geom_Transformation)& aTransformation, const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_ConcentricRelation::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_ConcentricRelation::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -135,15 +135,15 @@ void AIS_ConnectedInteractive::Compute (const Handle(PrsMgr_PresentationManager3
thePrs->ReCompute();
}
void AIS_ConnectedInteractive::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Geom_Transformation& aTransformation, const Handle_Prs3d_Presentation& aPresentation)
void AIS_ConnectedInteractive::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Geom_Transformation)& aTransformation, const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_ConnectedInteractive::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_ConnectedInteractive::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}
void AIS_ConnectedInteractive::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Prs3d_Presentation& aPresentation)
void AIS_ConnectedInteractive::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_ConnectedInteractive::Compute(const Handle_Prs3d_Projector&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_ConnectedInteractive::Compute(const Handle(Prs3d_Projector)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aPresentation ) ;
}
@ -196,8 +196,8 @@ void AIS_ConnectedInteractive::UpdateLocation(const Handle(SelectMgr_Selection)&
// Standard_NotImplemented::Raise("AIS_ConnectedInteractive::UpdateLocation(const Handle(SelectMgr_Selection)& Sel)");
SelectMgr_SelectableObject::UpdateLocation(Sel) ;
}
/*void AIS_ConnectedInteractive::UpdateLocation(const Handle_Prs3d_Presentation& aPresentation)
/*void AIS_ConnectedInteractive::UpdateLocation(const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_ConnectedInteractive::UpdateLocation(const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_ConnectedInteractive::UpdateLocation(const Handle(Prs3d_Presentation)&)");
SelectMgr_SelectableObject::UpdateLocation(aPresentation) ;
}*/

View File

@ -390,7 +390,7 @@ void AIS_Drawer::SetFaceBoundaryAspect (const Handle(Prs3d_LineAspect)& theAspec
// function : FaceBoundaryAspect
// purpose :
// =======================================================================
Handle_Prs3d_LineAspect AIS_Drawer::FaceBoundaryAspect()
Handle(Prs3d_LineAspect) AIS_Drawer::FaceBoundaryAspect()
{
if (!IsOwnFaceBoundaryAspect ())
{

View File

@ -164,11 +164,11 @@ void AIS_EqualRadiusRelation::Compute( const Handle( Prs3d_Projector )& /*aProje
//purpose :
//=======================================================================
void AIS_EqualRadiusRelation::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Geom_Transformation& aTransformation,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_EqualRadiusRelation::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Geom_Transformation)& aTransformation,
const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_EqualRadiusRelation::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_EqualRadiusRelation::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -231,11 +231,11 @@ void AIS_FixRelation::Compute(const Handle(Prs3d_Projector)& aProjector,
//purpose :
//=======================================================================
void AIS_FixRelation::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Geom_Transformation& aTransformation,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_FixRelation::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Geom_Transformation)& aTransformation,
const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_FixRelation::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_FixRelation::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -373,9 +373,9 @@ void AIS_IdenticRelation::Compute(const Handle(Prs3d_Projector)& aProjector,
PrsMgr_PresentableObject::Compute( aProjector , aPresentation ) ;
}
void AIS_IdenticRelation::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Geom_Transformation& aTransformation, const Handle_Prs3d_Presentation& aPresentation)
void AIS_IdenticRelation::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Geom_Transformation)& aTransformation, const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_IdenticRelation::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_IdenticRelation::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -2580,7 +2580,7 @@ Standard_Boolean AIS_InteractiveContext::IsoOnPlane() const
//purpose :
//=======================================================================
void AIS_InteractiveContext::SetSelectionMode(const Handle_AIS_InteractiveObject&, const Standard_Integer )
void AIS_InteractiveContext::SetSelectionMode(const Handle(AIS_InteractiveObject)&, const Standard_Integer )
{
}
@ -2589,7 +2589,7 @@ void AIS_InteractiveContext::SetSelectionMode(const Handle_AIS_InteractiveObject
//purpose :
//=======================================================================
void AIS_InteractiveContext::UnsetSelectionMode(const Handle_AIS_InteractiveObject&)
void AIS_InteractiveContext::UnsetSelectionMode(const Handle(AIS_InteractiveObject)&)
{
}
@ -2676,7 +2676,7 @@ Standard_Integer AIS_InteractiveContext::PixelTolerance() const {
//purpose :
//=======================================================================
Standard_Boolean AIS_InteractiveContext::IsInLocal(const Handle_AIS_InteractiveObject& anIObj,
Standard_Boolean AIS_InteractiveContext::IsInLocal(const Handle(AIS_InteractiveObject)& anIObj,
Standard_Integer& TheIndex) const
{
if(anIObj.IsNull()) return Standard_False;

View File

@ -76,7 +76,7 @@ inline const Handle(PrsMgr_PresentationManager3d)& AIS_InteractiveContext::MainP
inline Standard_Boolean AIS_InteractiveContext::HasOpenedContext() const
{return myCurLocalIndex != 0;}
inline Handle_AIS_LocalContext AIS_InteractiveContext::LocalContext() const
inline Handle(AIS_LocalContext) AIS_InteractiveContext::LocalContext() const
{ return (myCurLocalIndex > 0) ? myLocalContexts(myCurLocalIndex) : NULL; }
inline const TCollection_AsciiString& AIS_InteractiveContext::CurrentName() const

View File

@ -124,9 +124,9 @@ void AIS_Line::Compute(const Handle(PrsMgr_PresentationManager3d)&,
}
void AIS_Line::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Geom_Transformation& aTransformation, const Handle_Prs3d_Presentation& aPresentation)
void AIS_Line::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Geom_Transformation)& aTransformation, const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_Line::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_Line::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation) ;
}

View File

@ -146,11 +146,11 @@ void AIS_MaxRadiusDimension::Compute(const Handle(Prs3d_Projector)& aProjector,
//purpose :
//=======================================================================
void AIS_MaxRadiusDimension::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Geom_Transformation& aTransformation,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_MaxRadiusDimension::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Geom_Transformation)& aTransformation,
const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_MaxRadiusDimension::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_MaxRadiusDimension::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -150,11 +150,11 @@ void AIS_MidPointRelation::Compute(const Handle(Prs3d_Projector)& /*aProjector*/
// PrsMgr_PresentableObject::Compute( aProjector , aPresentation ) ;
}
void AIS_MidPointRelation::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Geom_Transformation& aTransformation,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_MidPointRelation::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Geom_Transformation)& aTransformation,
const Handle(Prs3d_Presentation)& aPresentation)
{
Standard_NotImplemented::Raise("AIS_MidPointRelation::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
Standard_NotImplemented::Raise("AIS_MidPointRelation::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -148,11 +148,11 @@ void AIS_MinRadiusDimension::Compute(const Handle(Prs3d_Projector)& aProjector,
//purpose :
//=======================================================================
void AIS_MinRadiusDimension::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Geom_Transformation& aTransformation,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_MinRadiusDimension::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Geom_Transformation)& aTransformation,
const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_MinRadiusDimension::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_MinRadiusDimension::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -161,10 +161,10 @@ void AIS_MultipleConnectedInteractive::Compute (const Handle(PrsMgr_Presentation
//purpose :
//=======================================================================
void AIS_MultipleConnectedInteractive::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_MultipleConnectedInteractive::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_MultipleConnectedInteractive::Compute(const Handle_Prs3d_Projector&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_MultipleConnectedInteractive::Compute(const Handle(Prs3d_Projector)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aPresentation ) ;
}
@ -173,11 +173,11 @@ void AIS_MultipleConnectedInteractive::Compute(const Handle_Prs3d_Projector& aPr
//purpose :
//=======================================================================
void AIS_MultipleConnectedInteractive::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Geom_Transformation& aTransformation,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_MultipleConnectedInteractive::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Geom_Transformation)& aTransformation,
const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_MultipleConnectedInteractive::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_MultipleConnectedInteractive::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -160,8 +160,8 @@ void AIS_MultipleConnectedShape::Compute(const Handle(Prs3d_Projector)& aProject
//purpose :
//=======================================================================
void AIS_MultipleConnectedShape::Compute(const Handle_PrsMgr_PresentationManager3d& aPresentationManager3d,
const Handle_Prs3d_Presentation& aPresentation,
void AIS_MultipleConnectedShape::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager3d,
const Handle(Prs3d_Presentation)& aPresentation,
const int anint)
{
AIS_MultipleConnectedInteractive::Compute( aPresentationManager3d , aPresentation , anint ) ;

View File

@ -140,9 +140,9 @@ void AIS_ParallelRelation::Compute(const Handle(Prs3d_Projector)& aProjector,
PrsMgr_PresentableObject::Compute( aProjector , aPresentation ) ;
}
void AIS_ParallelRelation::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Geom_Transformation& aTransformation, const Handle_Prs3d_Presentation& aPresentation)
void AIS_ParallelRelation::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Geom_Transformation)& aTransformation, const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_ParallelRelation::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_ParallelRelation::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -124,9 +124,9 @@ void AIS_PerpendicularRelation::Compute(const Handle(Prs3d_Projector)& aProjecto
PrsMgr_PresentableObject::Compute( aProjector , aPresentation ) ;
}
void AIS_PerpendicularRelation::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Geom_Transformation& aTransformation, const Handle_Prs3d_Presentation& aPresentation)
void AIS_PerpendicularRelation::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Geom_Transformation)& aTransformation, const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_PerpendicularRelation::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_PerpendicularRelation::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -296,7 +296,7 @@ void AIS_Plane::Compute(const Handle(PrsMgr_PresentationManager3d)& ,
}
}
void AIS_Plane::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Geom_Transformation& aTransformation, const Handle_Prs3d_Presentation& aPresentation)
void AIS_Plane::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Geom_Transformation)& aTransformation, const Handle(Prs3d_Presentation)& aPresentation)
{
PrsMgr_PresentableObject::Compute(aProjector, aTransformation, aPresentation);
}

View File

@ -212,9 +212,9 @@ void AIS_PlaneTrihedron::Compute(const Handle(PrsMgr_PresentationManager3d)&,
aPresentation->SetInfiniteState (Standard_True);
}
void AIS_PlaneTrihedron::Compute(const Handle_Prs3d_Projector& aProjector, const Handle_Geom_Transformation& aTransformation, const Handle_Prs3d_Presentation& aPresentation)
void AIS_PlaneTrihedron::Compute(const Handle(Prs3d_Projector)& aProjector, const Handle(Geom_Transformation)& aTransformation, const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_PlaneTrihedron::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_PlaneTrihedron::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation) ;
}

View File

@ -102,11 +102,11 @@ void AIS_Point::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPresentat
//purpose :
//=======================================================================
void AIS_Point::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Geom_Transformation& aTransformation,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_Point::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Geom_Transformation)& aTransformation,
const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_Point::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_Point::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation) ;
}

View File

@ -136,11 +136,11 @@ void AIS_SymmetricRelation::Compute(const Handle(Prs3d_Projector)& /*aProjector*
// PrsMgr_PresentableObject::Compute( aProjector , aPresentation ) ;
}
void AIS_SymmetricRelation::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Geom_Transformation& aTransformation,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_SymmetricRelation::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Geom_Transformation)& aTransformation,
const Handle(Prs3d_Presentation)& aPresentation)
{
Standard_NotImplemented::Raise("AIS_SymmetricRelation::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
Standard_NotImplemented::Raise("AIS_SymmetricRelation::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -124,11 +124,11 @@ void AIS_TangentRelation::Compute(const Handle(Prs3d_Projector)& aProjector,
PrsMgr_PresentableObject::Compute( aProjector , aPresentation ) ;
}
void AIS_TangentRelation::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Geom_Transformation& aTransformation,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_TangentRelation::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Geom_Transformation)& aTransformation,
const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_TangentRelation::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_TangentRelation::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
}

View File

@ -291,11 +291,11 @@ void AIS_Trihedron::Compute(
//purpose :
//=======================================================================
void AIS_Trihedron::Compute(const Handle_Prs3d_Projector& aProjector,
const Handle_Geom_Transformation& aTransformation,
const Handle_Prs3d_Presentation& aPresentation)
void AIS_Trihedron::Compute(const Handle(Prs3d_Projector)& aProjector,
const Handle(Geom_Transformation)& aTransformation,
const Handle(Prs3d_Presentation)& aPresentation)
{
// Standard_NotImplemented::Raise("AIS_Trihedron::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
// Standard_NotImplemented::Raise("AIS_Trihedron::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation) ;
}

View File

@ -26,7 +26,7 @@ Standard_Boolean AIS_TypeFilter::IsOk(const Handle(SelectMgr_EntityOwner)& anObj
return Standard_False;
//#ifndef DEB
Handle_SelectMgr_SelectableObject aSelectableObject = anObj->Selectable() ;
Handle(SelectMgr_SelectableObject) aSelectableObject = anObj->Selectable() ;
return ((Handle(AIS_InteractiveObject)&) aSelectableObject)->Type()== myKind;
//#else
// return ((Handle(AIS_InteractiveObject)&)anObj->Selectable())->Type()== myKind;

View File

@ -72,7 +72,7 @@ inline void Adaptor3d_HSurfaceTool::VIntervals(const Handle(Adaptor3d_HSurface)&
Surf->VIntervals(Tab,S);
}
inline Handle_Adaptor3d_HSurface Adaptor3d_HSurfaceTool::UTrim(const Handle(Adaptor3d_HSurface)& Surf,
inline Handle(Adaptor3d_HSurface) Adaptor3d_HSurfaceTool::UTrim(const Handle(Adaptor3d_HSurface)& Surf,
const Standard_Real F,
const Standard_Real L,
const Standard_Real Tol)
@ -80,7 +80,7 @@ inline Handle_Adaptor3d_HSurface Adaptor3d_HSurfaceTool::UTrim(const Handle(Adap
return Surf->UTrim(F,L,Tol);
}
inline Handle_Adaptor3d_HSurface Adaptor3d_HSurfaceTool::VTrim(const Handle(Adaptor3d_HSurface)& Surf,
inline Handle(Adaptor3d_HSurface) Adaptor3d_HSurfaceTool::VTrim(const Handle(Adaptor3d_HSurface)& Surf,
const Standard_Real F,
const Standard_Real L,
const Standard_Real Tol)

View File

@ -622,9 +622,9 @@ AdvApprox_ApproxAFunction::
AdvApprox_ApproxAFunction(const Standard_Integer Num1DSS,
const Standard_Integer Num2DSS,
const Standard_Integer Num3DSS,
const Handle_TColStd_HArray1OfReal& OneDTol,
const Handle_TColStd_HArray1OfReal& TwoDTol,
const Handle_TColStd_HArray1OfReal& ThreeDTol,
const Handle(TColStd_HArray1OfReal)& OneDTol,
const Handle(TColStd_HArray1OfReal)& TwoDTol,
const Handle(TColStd_HArray1OfReal)& ThreeDTol,
const Standard_Real First,
const Standard_Real Last,
const GeomAbs_Shape Continuity,
@ -651,9 +651,9 @@ AdvApprox_ApproxAFunction::
AdvApprox_ApproxAFunction(const Standard_Integer Num1DSS,
const Standard_Integer Num2DSS,
const Standard_Integer Num3DSS,
const Handle_TColStd_HArray1OfReal& OneDTol,
const Handle_TColStd_HArray1OfReal& TwoDTol,
const Handle_TColStd_HArray1OfReal& ThreeDTol,
const Handle(TColStd_HArray1OfReal)& OneDTol,
const Handle(TColStd_HArray1OfReal)& TwoDTol,
const Handle(TColStd_HArray1OfReal)& ThreeDTol,
const Standard_Real First,
const Standard_Real Last,
const GeomAbs_Shape Continuity,

View File

@ -24,10 +24,10 @@
#include <TColgp_HArray1OfVec2d.hxx>
#define tabTang (*(Handle_TColgp_HArray1OfVec*)&ttabTang)
#define tabCurv (*(Handle_TColgp_HArray1OfVec*)&ttabCurv)
#define tabTang2d (*(Handle_TColgp_HArray1OfVec2d*)&ttabTang2d)
#define tabCurv2d (*(Handle_TColgp_HArray1OfVec2d*)&ttabCurv2d)
#define tabTang (*(Handle(TColgp_HArray1OfVec)*)&ttabTang)
#define tabCurv (*(Handle(TColgp_HArray1OfVec)*)&ttabCurv)
#define tabTang2d (*(Handle(TColgp_HArray1OfVec2d)*)&ttabTang2d)
#define tabCurv2d (*(Handle(TColgp_HArray1OfVec2d)*)&ttabCurv2d)

View File

@ -18,8 +18,8 @@
#include <Standard_OutOfRange.hxx>
#define tabPoint (*(Handle_TColgp_HArray1OfPnt*)&ttabPoint)
#define tabPoint2d (*(Handle_TColgp_HArray1OfPnt2d*)&ttabPoint2d)
#define tabPoint (*(Handle(TColgp_HArray1OfPnt)*)&ttabPoint)
#define tabPoint2d (*(Handle(TColgp_HArray1OfPnt2d)*)&ttabPoint2d)
AppParCurves_MultiPoint::AppParCurves_MultiPoint() {}

View File

@ -249,13 +249,13 @@ typedef BOPCol_NCVector<BOPAlgo_VFI> BOPAlgo_VectorOfVFI;
typedef BOPCol_TBBContextFunctor
<BOPAlgo_VFI,
BOPAlgo_VectorOfVFI,
Handle_BOPInt_Context,
Handle(BOPInt_Context),
BOPInt_Context> BOPAlgo_VFIFunctor;
//
typedef BOPCol_TBBContextCnt
<BOPAlgo_VFIFunctor,
BOPAlgo_VectorOfVFI,
Handle_BOPInt_Context> BOPAlgo_VFICnt;
Handle(BOPInt_Context)> BOPAlgo_VFICnt;
//
//=======================================================================
//function : FillImagesFaces

View File

@ -116,13 +116,13 @@ typedef BOPCol_NCVector
typedef BOPCol_TBBContextFunctor
<BOPAlgo_VertexEdge,
BOPAlgo_VectorOfVertexEdge,
Handle_BOPInt_Context,
Handle(BOPInt_Context),
BOPInt_Context> BOPAlgo_VertexEdgeFunctor;
//
typedef BOPCol_TBBContextCnt
<BOPAlgo_VertexEdgeFunctor,
BOPAlgo_VectorOfVertexEdge,
Handle_BOPInt_Context> BOPAlgo_VertexEdgeCnt;
Handle(BOPInt_Context)> BOPAlgo_VertexEdgeCnt;
//
//=======================================================================
// function: PerformVE
@ -215,7 +215,7 @@ void BOPAlgo_PaveFiller::PerformVE()
myDS->AddInterf(nV, nE);
// 3
BOPDS_ListOfPaveBlock& aLPB=myDS->ChangePaveBlocks(nE);
Handle(BOPDS_PaveBlock)& aPB=*((Handle_BOPDS_PaveBlock*)&aLPB.First());
Handle(BOPDS_PaveBlock)& aPB=*((Handle(BOPDS_PaveBlock)*)&aLPB.First());
//
aPave.SetIndex(nVx);
aPave.SetParameter(aT);

View File

@ -245,13 +245,13 @@ typedef BOPCol_NCVector
typedef BOPCol_TBBContextFunctor
<BOPAlgo_PVE,
BOPAlgo_VectorOfPVE,
Handle_BOPInt_Context,
Handle(BOPInt_Context),
BOPInt_Context> BOPAlgo_PVEFunctor;
//
typedef BOPCol_TBBContextCnt
<BOPAlgo_PVEFunctor,
BOPAlgo_VectorOfPVE,
Handle_BOPInt_Context> BOPAlgo_PVECnt;
Handle(BOPInt_Context)> BOPAlgo_PVECnt;
/////////////////////////////////////////////////////////////////////////
//=======================================================================
// function: PerformEE

View File

@ -124,13 +124,13 @@ typedef BOPCol_NCVector<BOPAlgo_VertexFace>
typedef BOPCol_TBBContextFunctor
<BOPAlgo_VertexFace,
BOPAlgo_VectorOfVertexFace,
Handle_BOPInt_Context,
Handle(BOPInt_Context),
BOPInt_Context> BOPAlgo_VertexFaceFunctor;
//
typedef BOPCol_TBBContextCnt
<BOPAlgo_VertexFaceFunctor,
BOPAlgo_VectorOfVertexFace,
Handle_BOPInt_Context> BOPAlgo_VertexFaceCnt;
Handle(BOPInt_Context)> BOPAlgo_VertexFaceCnt;
//
//=======================================================================
// function: PerformVF

View File

@ -110,13 +110,13 @@ typedef BOPCol_NCVector<BOPAlgo_EdgeFace> BOPAlgo_VectorOfEdgeFace;
typedef BOPCol_TBBContextFunctor
<BOPAlgo_EdgeFace,
BOPAlgo_VectorOfEdgeFace,
Handle_BOPInt_Context,
Handle(BOPInt_Context),
BOPInt_Context> BOPAlgo_EdgeFaceFunctor;
//
typedef BOPCol_TBBContextCnt
<BOPAlgo_EdgeFaceFunctor,
BOPAlgo_VectorOfEdgeFace,
Handle_BOPInt_Context> BOPAlgo_EdgeFaceCnt;
Handle(BOPInt_Context)> BOPAlgo_EdgeFaceCnt;
//
//=======================================================================
//function : PerformEF

View File

@ -78,13 +78,13 @@ typedef BOPCol_NCVector
typedef BOPCol_TBBContextFunctor
<BOPAlgo_ShrunkRange,
BOPAlgo_VectorOfShrunkRange,
Handle_BOPInt_Context,
Handle(BOPInt_Context),
BOPInt_Context> BOPAlgo_ShrunkRangeFunctor;
//
typedef BOPCol_TBBContextCnt
<BOPAlgo_ShrunkRangeFunctor,
BOPAlgo_VectorOfShrunkRange,
Handle_BOPInt_Context> BOPAlgo_ShrunkRangeCnt;
Handle(BOPInt_Context)> BOPAlgo_ShrunkRangeCnt;
//
//=======================================================================
// function: FillShrunkData

View File

@ -17,6 +17,6 @@
#include <NCollection_BaseAllocator.hxx>
typedef Handle_NCollection_BaseAllocator BOPCol_BaseAllocator;
typedef Handle(NCollection_BaseAllocator) BOPCol_BaseAllocator;
#endif

View File

@ -29,7 +29,7 @@ template <class Type> class BOPCol_NCVector
{
public:
BOPCol_NCVector(const Standard_Integer theIncrement=256,
const Handle_NCollection_BaseAllocator& theAlloc = NULL)
const Handle(NCollection_BaseAllocator)& theAlloc = NULL)
: NCollection_Vector<Type>(theIncrement, theAlloc) {
};
//

View File

@ -104,7 +104,7 @@
//=======================================================================
inline Handle(BOPDS_PaveBlock)& BOPDS_Curve::ChangePaveBlock1()
{
Handle_BOPDS_PaveBlock* pPB=(Handle_BOPDS_PaveBlock*)&myPaveBlocks.First();
Handle(BOPDS_PaveBlock)* pPB=(Handle(BOPDS_PaveBlock)*)&myPaveBlocks.First();
return *pPB;
}
//=======================================================================

View File

@ -63,8 +63,8 @@ Standard_Boolean BRep_CurveOn2Surfaces::IsRegularity()const
//=======================================================================
Standard_Boolean BRep_CurveOn2Surfaces::IsRegularity
(const Handle_Geom_Surface& S1,
const Handle_Geom_Surface& S2,
(const Handle(Geom_Surface)& S1,
const Handle(Geom_Surface)& S2,
const TopLoc_Location& L1,
const TopLoc_Location& L2)const
{

View File

@ -125,7 +125,7 @@ Standard_Boolean BRep_CurveRepresentation::IsPolygonOnTriangulation() const
//=======================================================================
Standard_Boolean BRep_CurveRepresentation::IsPolygonOnTriangulation
(const Handle_Poly_Triangulation&, const TopLoc_Location&) const
(const Handle(Poly_Triangulation)&, const TopLoc_Location&) const
{
return Standard_False;
}
@ -168,7 +168,7 @@ Standard_Boolean BRep_CurveRepresentation::IsPolygonOnSurface() const
//=======================================================================
Standard_Boolean BRep_CurveRepresentation::IsPolygonOnSurface
(const Handle_Geom_Surface&,
(const Handle(Geom_Surface)&,
const TopLoc_Location&) const
{
return Standard_False;

View File

@ -283,10 +283,10 @@ Handle(Adaptor3d_HCurve) BRepAdaptor_Curve::Trim(const Standard_Real First,
}
else {
Handle(Adaptor3d_HCurveOnSurface) sav = myConSurf;
*((Handle_Adaptor3d_HCurveOnSurface*) (void*) &myConSurf) =
*((Handle(Adaptor3d_HCurveOnSurface)*) (void*) &myConSurf) =
Handle(Adaptor3d_HCurveOnSurface)::DownCast(myConSurf->Trim(First,Last,Tol));
res->ChangeCurve() = *this;
*((Handle_Adaptor3d_HCurveOnSurface*) (void*) &myConSurf) = sav;
*((Handle(Adaptor3d_HCurveOnSurface)*) (void*) &myConSurf) = sav;
}
return res;
}

View File

@ -56,14 +56,14 @@ inline void BRepApprox_SurfaceTool::VIntervals(const BRepAdaptor_Surface& Surf,
}
inline Handle_Adaptor3d_HSurface BRepApprox_SurfaceTool::UTrim(const BRepAdaptor_Surface& Surf,
inline Handle(Adaptor3d_HSurface) BRepApprox_SurfaceTool::UTrim(const BRepAdaptor_Surface& Surf,
const Standard_Real F,
const Standard_Real L,
const Standard_Real Tol) {
return Surf.UTrim(F,L,Tol);
}
inline Handle_Adaptor3d_HSurface BRepApprox_SurfaceTool::VTrim(const BRepAdaptor_Surface& Surf,
inline Handle(Adaptor3d_HSurface) BRepApprox_SurfaceTool::VTrim(const BRepAdaptor_Surface& Surf,
const Standard_Real F,
const Standard_Real L,
const Standard_Real Tol) {

View File

@ -55,7 +55,7 @@ inline Standard_Boolean BRepBlend_Extremity::IsVertex() const
}
inline const Handle_Adaptor3d_HVertex& BRepBlend_Extremity::Vertex () const
inline const Handle(Adaptor3d_HVertex)& BRepBlend_Extremity::Vertex () const
{
if (!isvtx) {Standard_DomainError::Raise();}
return vtx;

View File

@ -14,7 +14,7 @@
#include <Standard_DomainError.hxx>
inline const Handle_Adaptor2d_HCurve2d& BRepBlend_PointOnRst::Arc () const
inline const Handle(Adaptor2d_HCurve2d)& BRepBlend_PointOnRst::Arc () const
{
return arc;
}

View File

@ -75,7 +75,7 @@ class BRepExtrema_ExtCC
private:
Extrema_ExtCC myExtCC;
Handle_BRepAdaptor_HCurve myHC;
Handle(BRepAdaptor_HCurve) myHC;
};
#endif

View File

@ -92,7 +92,7 @@ class BRepExtrema_ExtCF
TColStd_SequenceOfReal mySqDist;
Extrema_SequenceOfPOnSurf myPointsOnS;
Extrema_SequenceOfPOnCurv myPointsOnC;
Handle_BRepAdaptor_HSurface myHS;
Handle(BRepAdaptor_HSurface) myHS;
};
#endif

View File

@ -90,7 +90,7 @@ class BRepExtrema_ExtFF
TColStd_SequenceOfReal mySqDist;
Extrema_SequenceOfPOnSurf myPointsOnS1;
Extrema_SequenceOfPOnSurf myPointsOnS2;
Handle_BRepAdaptor_HSurface myHS;
Handle(BRepAdaptor_HSurface) myHS;
};
#endif

View File

@ -82,7 +82,7 @@ class BRepExtrema_ExtPC
private:
Extrema_ExtPC myExtPC;
Handle_BRepAdaptor_HCurve myHC;
Handle(BRepAdaptor_HCurve) myHC;
};
#endif

View File

@ -202,7 +202,7 @@ Standard_Boolean BRepFill_ApproxSeewing::IsDone() const
//=======================================================================
//function : Handle_Geom_Curve&
//function : Handle(Geom_Curve)&
//purpose :
//=======================================================================
@ -215,7 +215,7 @@ const Handle(Geom_Curve)& BRepFill_ApproxSeewing::Curve() const
//=======================================================================
//function : Handle_Geom2d_Curve&
//function : Handle(Geom2d_Curve)&
//purpose :
//=======================================================================
@ -228,7 +228,7 @@ const Handle(Geom2d_Curve)& BRepFill_ApproxSeewing::CurveOnF1() const
//=======================================================================
//function : Handle_Geom2d_Curve&
//function : Handle(Geom2d_Curve)&
//purpose :
//=======================================================================

View File

@ -13,4 +13,4 @@
#include <NCollection_IncAllocator.hxx>
typedef Handle_NCollection_IncAllocator BRepMesh_BaseAllocator;
typedef Handle(NCollection_IncAllocator) BRepMesh_BaseAllocator;

View File

@ -249,7 +249,7 @@ static void PutInBounds (const TopoDS_Face& F,
Handle (Geom_Surface) S = BRep_Tool::Surface(F,L);
if (S->IsInstance(STANDARD_TYPE(Geom_RectangularTrimmedSurface))) {
S = (*(Handle_Geom_RectangularTrimmedSurface*)&S)->BasisSurface();
S = (*(Handle(Geom_RectangularTrimmedSurface)*)&S)->BasisSurface();
}
//---------------
// Recadre en U.
@ -2597,7 +2597,7 @@ static void MakeFace(const Handle(Geom_Surface)& S,
Standard_Boolean vmindegen = isVminDegen, vmaxdegen = isVmaxDegen;
Handle(Geom_Surface) theSurf = S;
if (S->DynamicType() == STANDARD_TYPE(Geom_RectangularTrimmedSurface))
theSurf = (*(Handle_Geom_RectangularTrimmedSurface*)&S)->BasisSurface();
theSurf = (*(Handle(Geom_RectangularTrimmedSurface)*)&S)->BasisSurface();
if (theSurf->DynamicType() == STANDARD_TYPE(Geom_ConicalSurface))
{
Handle(Geom_ConicalSurface) ConicalS = *((Handle(Geom_ConicalSurface)*) &theSurf);
@ -3265,7 +3265,7 @@ Standard_Boolean BRepOffset_Tool::EnLargeFace
//Special treatment for conical surfaces
Handle(Geom_Surface) theSurf = S;
if (S->DynamicType() == STANDARD_TYPE(Geom_RectangularTrimmedSurface))
theSurf = (*(Handle_Geom_RectangularTrimmedSurface*)&S)->BasisSurface();
theSurf = (*(Handle(Geom_RectangularTrimmedSurface)*)&S)->BasisSurface();
if (theSurf->DynamicType() == STANDARD_TYPE(Geom_ConicalSurface))
{
Handle(Geom_ConicalSurface) ConicalS = *((Handle(Geom_ConicalSurface)*) &theSurf);

View File

@ -191,10 +191,10 @@ void DrawCurve(const Handle(Geom2d_Curve)& aCurve,
Draw_Color Couleur;
if (type == STANDARD_TYPE(Geom2d_TrimmedCurve)) {
curve = (*(Handle_Geom2d_TrimmedCurve*)&aCurve)->BasisCurve();
curve = (*(Handle(Geom2d_TrimmedCurve)*)&aCurve)->BasisCurve();
type = curve->DynamicType();
if (type == STANDARD_TYPE(Bisector_BisecAna)) {
curve =(*(Handle_Bisector_BisecAna*)&curve)->Geom2dCurve();
curve =(*(Handle(Bisector_BisecAna)*)&curve)->Geom2dCurve();
type = curve->DynamicType();
}
// PB of representation of semi_infinite curves.

View File

@ -65,22 +65,22 @@ void BRepTopAdaptor_Tool::Init(const Handle(Adaptor3d_HSurface)& surface,
myloaded=Standard_True;
}
Handle_BRepTopAdaptor_TopolTool BRepTopAdaptor_Tool::GetTopolTool() {
Handle(BRepTopAdaptor_TopolTool) BRepTopAdaptor_Tool::GetTopolTool() {
if(myloaded) {
return(myTopolTool);
}
else {
cout<<"\n*** Error ds Handle_BRepTopAdaptor_TopolTool BRepTopAdaptor_Tool::GetTopolTool()\n"<<endl;
cout<<"\n*** Error ds Handle(BRepTopAdaptor_TopolTool) BRepTopAdaptor_Tool::GetTopolTool()\n"<<endl;
return(myTopolTool);
}
}
Handle_Adaptor3d_HSurface BRepTopAdaptor_Tool::GetSurface() {
Handle(Adaptor3d_HSurface) BRepTopAdaptor_Tool::GetSurface() {
if(myloaded) {
return(myHSurface);
}
else {
cout<<"\n*** Error ds Handle_BRepTopAdaptor_TopolTool BRepTopAdaptor_Tool::GetSurface()\n"<<endl;
cout<<"\n*** Error ds Handle(BRepTopAdaptor_TopolTool) BRepTopAdaptor_Tool::GetSurface()\n"<<endl;
return(myHSurface);
}
}

View File

@ -474,7 +474,7 @@ void BinLDrivers_DocumentStorageDriver::AddSection
void BinLDrivers_DocumentStorageDriver::WriteSection
(const TCollection_AsciiString& /*theName*/,
const Handle_CDM_Document& /*theDocument*/,
const Handle(CDM_Document)& /*theDocument*/,
Standard_OStream& /*theOS*/)
{
// empty; should be redefined in subclasses

View File

@ -776,7 +776,7 @@ void Bisector_BisecAna::Perform(const Handle(Geom2d_Curve)& afirstcurve ,
Handle(Standard_Type) type = afirstcurve->DynamicType();
if (type == STANDARD_TYPE(Geom2d_TrimmedCurve)) {
curve = (*(Handle_Geom2d_TrimmedCurve*)&afirstcurve)->BasisCurve();
curve = (*(Handle(Geom2d_TrimmedCurve)*)&afirstcurve)->BasisCurve();
}
else {
curve = afirstcurve;

View File

@ -794,7 +794,7 @@ static void Indent(const Standard_Integer Offset) {
//function : Init
// purpose :
//=============================================================================
void Bisector_BisecPC::Init (const Handle_Geom2d_Curve& Curve,
void Bisector_BisecPC::Init (const Handle(Geom2d_Curve)& Curve,
const gp_Pnt2d& Point,
const Standard_Real Sign,
const TColStd_SequenceOfReal& StartIntervals,

View File

@ -95,7 +95,7 @@ void Bnd_BoundSortBox2d::Initialize(const Bnd_Box2d& CompleteBox,
//purpose :
//=======================================================================
void Bnd_BoundSortBox2d::Initialize(const Handle_Bnd_HArray1OfBox2d& SetOfBox)
void Bnd_BoundSortBox2d::Initialize(const Handle(Bnd_HArray1OfBox2d)& SetOfBox)
{
myBndComponents=SetOfBox;
discrX=SetOfBox->Length();

View File

@ -1701,7 +1701,7 @@ void ChFi3d_ComputeArete(const ChFiDS_CommonPoint& P1,
bs.Update(umin,vmin,umax,vmax);
Standard_Boolean aIN = Standard_True;
for(Standard_Integer ii = 1; ii <= 4 && aIN; ii++) {
if(bs.IsOut((*((Handle_Geom2d_BezierCurve*) &Pcurv))->Pole(ii))) {
if(bs.IsOut((*((Handle(Geom2d_BezierCurve)*) &Pcurv))->Pole(ii))) {
aIN = Standard_False;
TColgp_Array1OfPnt2d qoles(1,2);
qoles(1)=UV1;

View File

@ -86,7 +86,7 @@ void ChFiDS_Stripe::SetCurve(const Standard_Integer Index,
//=======================================================================
//function : Handle_Geom2d_Curve&
//function : Handle(Geom2d_Curve)&
//purpose :
//=======================================================================

View File

@ -92,8 +92,8 @@
Standard_Boolean ChFiKPart_ComputeData::Compute
(TopOpeBRepDS_DataStructure& DStr,
Handle(ChFiDS_SurfData)& Data,
const Handle_Adaptor3d_HSurface& S1,
const Handle_Adaptor3d_HSurface& S2,
const Handle(Adaptor3d_HSurface)& S1,
const Handle(Adaptor3d_HSurface)& S2,
const TopAbs_Orientation Or1,
const TopAbs_Orientation Or2,
const Handle(ChFiDS_Spine)& Sp,

View File

@ -1015,7 +1015,7 @@ void ComputeInternalPointsOnRstr
return;
}
const Handle_Adaptor2d_HCurve2d& thearc = Line.Arc();
const Handle(Adaptor2d_HCurve2d)& thearc = Line.Arc();
const Handle(Adaptor3d_HSurface)& Surf = SFunc.Surface();
Contap_TFunction TypeFunc(SFunc.FunctionType());

View File

@ -41,7 +41,7 @@ Standard_Integer Contap_HContTool::NbSamplesV
break;
case GeomAbs_BSplineSurface:
{
//-- Handle_Geom_BSplineSurface& HBS=S->BSpline();
//-- Handle(Geom_BSplineSurface)& HBS=S->BSpline();
nbs = S->NbVKnots();
nbs*= S->VDegree();
if(nbs < 2) nbs=2;
@ -88,7 +88,7 @@ Standard_Integer Contap_HContTool::NbSamplesU
break;
case GeomAbs_BSplineSurface:
{
//-- Handle_Geom_BSplineSurface& HBS=S->BSpline();
//-- Handle(Geom_BSplineSurface)& HBS=S->BSpline();
nbs = S->NbUKnots();
nbs*= S->UDegree();
if(nbs < 2) nbs=2;
@ -233,7 +233,7 @@ Standard_Integer Contap_HContTool::NbSamplesOnArc
nbsOnC = A->NbPoles();
break;
case GeomAbs_BSplineCurve: {
//-- Handle_Geom2d_BSplineCurve& BSC=A->BSpline();
//-- Handle(Geom2d_BSplineCurve)& BSC=A->BSpline();
nbsOnC = 2 + A->NbKnots() * A->Degree();
break;
}

View File

@ -94,7 +94,7 @@ inline Standard_Boolean Contap_Point::IsOnArc () const{
return onarc;
}
inline const Handle_Adaptor2d_HCurve2d& Contap_Point::Arc () const {
inline const Handle(Adaptor2d_HCurve2d)& Contap_Point::Arc () const {
if (!onarc) {Standard_DomainError::Raise();}
return arc;
@ -122,7 +122,7 @@ inline Standard_Boolean Contap_Point::IsVertex () const {
return isvtx;
}
inline const Handle_Adaptor3d_HVertex& Contap_Point::Vertex () const {
inline const Handle(Adaptor3d_HVertex)& Contap_Point::Vertex () const {
if (!isvtx) {Standard_DomainError::Raise();}
return vtx;

View File

@ -80,7 +80,7 @@ inline const gp_Dir2d& Contap_SurfFunction::Direction2d()
return d2d;
}
inline const Handle_Adaptor3d_HSurface& Contap_SurfFunction::Surface() const
inline const Handle(Adaptor3d_HSurface)& Contap_SurfFunction::Surface() const
{
return mySurf;
}

View File

@ -43,10 +43,10 @@ Convert_CompPolynomialToPoles::Convert_CompPolynomialToPoles(
const Standard_Integer Continuity,
const Standard_Integer Dimension,
const Standard_Integer MaxDegree,
const Handle_TColStd_HArray1OfInteger& NumCoeffPerCurve,
const Handle_TColStd_HArray1OfReal& Coefficients,
const Handle_TColStd_HArray2OfReal& PolynomialIntervals,
const Handle_TColStd_HArray1OfReal& TrueIntervals)
const Handle(TColStd_HArray1OfInteger)& NumCoeffPerCurve,
const Handle(TColStd_HArray1OfReal)& Coefficients,
const Handle(TColStd_HArray2OfReal)& PolynomialIntervals,
const Handle(TColStd_HArray1OfReal)& TrueIntervals)
: myDone(Standard_False)
{
Standard_Integer ii, delta;
@ -319,7 +319,7 @@ Standard_Integer Convert_CompPolynomialToPoles::NbPoles() const
//=======================================================================
void Convert_CompPolynomialToPoles::Poles(
Handle_TColStd_HArray2OfReal& P) const
Handle(TColStd_HArray2OfReal)& P) const
{ if (myDone) {
P = myPoles ; }
}
@ -342,7 +342,7 @@ Standard_Integer Convert_CompPolynomialToPoles::NbKnots() const
//=======================================================================
void Convert_CompPolynomialToPoles::Knots(
Handle_TColStd_HArray1OfReal& K) const
Handle(TColStd_HArray1OfReal)& K) const
{ if (myDone) {
K = myKnots ; }
}
@ -353,7 +353,7 @@ void Convert_CompPolynomialToPoles::Knots(
//=======================================================================
void Convert_CompPolynomialToPoles::Multiplicities(
Handle_TColStd_HArray1OfInteger& M) const
Handle(TColStd_HArray1OfInteger)& M) const
{ if (myDone) {
M = myMults ; }
}

View File

@ -74,7 +74,7 @@ static PStandard_ArrayNode DBC_tmpItem;
// should be d_Varray for 4.6
// Use an Collection of StandardDB_O2Handle
// for none primitive type to avoid to import
// Handle_Standard_Persistent.
// Handle(Standard_Persistent).
// --------------------------------------------------------------------
// Last revision : January 1996 JMS/CLE
// portage OBJY 3.8

View File

@ -23,7 +23,7 @@ typedef ooVArray(PHandle_PStandard_ArrayNode) DBC_DBVArray;
#ifdef CSFDB
#include <PStandard_ArrayNode.hxx>
//typedef Handle_PStandard_ArrayNode* DBC_DBVArray;
//typedef Handle(PStandard_ArrayNode)* DBC_DBVArray;
typedef void* DBC_DBVArray;
#endif

View File

@ -154,7 +154,7 @@ Handle(Geom_Curve)& Draft_EdgeInfo::ChangeGeometry()
}
//=======================================================================
//function : Handle_Geom2d_Curve&
//function : Handle(Geom2d_Curve)&
//purpose :
//=======================================================================
@ -165,7 +165,7 @@ const Handle(Geom2d_Curve)& Draft_EdgeInfo::FirstPC() const
//=======================================================================
//function : Handle_Geom2d_Curve&
//function : Handle(Geom2d_Curve)&
//purpose :
//=======================================================================

View File

@ -166,7 +166,7 @@ void Dynamic_DynamicInstance::Execute(const Standard_CString amethod) const
Handle(Dynamic_CompiledMethod) method_1 = Handle(Dynamic_CompiledMethod)::DownCast(method);
typedef void (*function)(const Handle(Dynamic_DynamicInstance)&);
// ((function)((*(Handle_Dynamic_CompiledMethod*)&method)->Function().ToCString()))(me);
// ((function)((*(Handle(Dynamic_CompiledMethod)*)&method)->Function().ToCString()))(me);
((function)(method_1->Function().ToCString()))(me);
}
else
@ -174,7 +174,7 @@ void Dynamic_DynamicInstance::Execute(const Standard_CString amethod) const
/* Standard_Integer argc = 2;
char* argv[2];
argv[0] = "source";
argv[1] = (*(Handle_Dynamic_InterpretedMethod*)&method)->Function();
argv[1] = (*(Handle(Dynamic_InterpretedMethod)*)&method)->Function();
source(argc,argv);*/
}
}

View File

@ -226,7 +226,7 @@ Standard_Boolean Dynamic_FuzzyClass::Value(const Standard_CString aparameter,
parameter = parameternode->Object();
if(parameter->Name() == aparameter)
{
avalue = (*(Handle_Dynamic_BooleanParameter*)&parameter)->Value();
avalue = (*(Handle(Dynamic_BooleanParameter)*)&parameter)->Value();
return Standard_True;
}
parameternode = parameternode->Next();
@ -253,7 +253,7 @@ Standard_Boolean Dynamic_FuzzyClass::Value(const Standard_CString aparameter,
parameter = parameternode->Object();
if(parameter->Name() == aparameter)
{
avalue = (*(Handle_Dynamic_IntegerParameter*)&parameter)->Value();
avalue = (*(Handle(Dynamic_IntegerParameter)*)&parameter)->Value();
return Standard_True;
}
parameternode = parameternode->Next();
@ -280,7 +280,7 @@ Standard_Boolean Dynamic_FuzzyClass::Value(const Standard_CString aparameter,
parameter = parameternode->Object();
if(parameter->Name() == aparameter)
{
avalue = (*(Handle_Dynamic_RealParameter*)&parameter)->Value();
avalue = (*(Handle(Dynamic_RealParameter)*)&parameter)->Value();
return Standard_True;
}
parameternode = parameternode->Next();
@ -307,7 +307,7 @@ Standard_Boolean Dynamic_FuzzyClass::Value(const Standard_CString aparameter,
parameter = parameternode->Object();
if(parameter->Name() == aparameter)
{
avalue = (*(Handle_Dynamic_StringParameter*)&parameter)->Value();
avalue = (*(Handle(Dynamic_StringParameter)*)&parameter)->Value();
return Standard_True;
}
parameternode = parameternode->Next();
@ -334,7 +334,7 @@ Standard_Boolean Dynamic_FuzzyClass::Value(const Standard_CString aparameter,
parameter = parameternode->Object();
if(parameter->Name() == aparameter)
{
anobject = (*(Handle_Dynamic_ObjectParameter*)&parameter)->Value();
anobject = (*(Handle(Dynamic_ObjectParameter)*)&parameter)->Value();
return Standard_True;
}
parameternode = parameternode->Next();

View File

@ -78,7 +78,7 @@ Handle(Dynamic_FuzzyClass) Dynamic_FuzzyInstance::Definition() const
}
else
{
definition = *(Handle_Dynamic_FuzzyInstance*)&thedefinition;
definition = *(Handle(Dynamic_FuzzyInstance)*)&thedefinition;
return definition->Definition();
}
}

View File

@ -196,7 +196,7 @@ Standard_Boolean Dynamic_MethodDefinitionsDictionary::Definition(const Handle(Dy
Handle(Dynamic_MethodDefinition) methoddefinition;
if(adefinition->IsKind(STANDARD_TYPE(Dynamic_MethodDefinition)))
{
methoddefinition = *(Handle_Dynamic_MethodDefinition*)&adefinition;
methoddefinition = *(Handle(Dynamic_MethodDefinition)*)&adefinition;
thesequenceofmethoddefinitions->Append(methoddefinition);
return Standard_True;
}

View File

@ -74,7 +74,7 @@ const Handle(Expr_GeneralExpression)& Expr_BinaryExpression::SubExpression (cons
Standard_OutOfRange::Raise();
}
}
return *( ( Handle_Expr_GeneralExpression* )NULL );
return *( ( Handle(Expr_GeneralExpression)* )NULL );
}
Standard_Boolean Expr_BinaryExpression::ContainsUnknowns () const

View File

@ -369,7 +369,7 @@ inline static void fillParams(const TColStd_Array1OfReal& theKnots,
Standard_Integer theDegree,
Standard_Real theParMin,
Standard_Real theParMax,
Handle_TColStd_HArray1OfReal& theParams,
Handle(TColStd_HArray1OfReal)& theParams,
Standard_Integer theSample)
{
NCollection_Vector<Standard_Real> aParams;

View File

@ -414,17 +414,17 @@ Standard_Boolean
return Standard_True;
}
void FilletSurf_InternalBuilder::PerformSurf(ChFiDS_SequenceOfSurfData&, const Handle_ChFiDS_HElSpine&, const Handle_ChFiDS_Spine&, const int, const Handle_BRepAdaptor_HSurface&, const Handle_Adaptor3d_TopolTool&, const Handle_BRepAdaptor_HCurve2d&, const Handle_BRepAdaptor_HSurface&, const Handle_BRepAdaptor_HCurve2d&, unsigned int&, const Handle_BRepAdaptor_HSurface&, const Handle_Adaptor3d_TopolTool&, const TopAbs_Orientation, const double, const double, const double, double&, double&, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const math_Vector&)
void FilletSurf_InternalBuilder::PerformSurf(ChFiDS_SequenceOfSurfData&, const Handle(ChFiDS_HElSpine)&, const Handle(ChFiDS_Spine)&, const int, const Handle(BRepAdaptor_HSurface)&, const Handle(Adaptor3d_TopolTool)&, const Handle(BRepAdaptor_HCurve2d)&, const Handle(BRepAdaptor_HSurface)&, const Handle(BRepAdaptor_HCurve2d)&, unsigned int&, const Handle(BRepAdaptor_HSurface)&, const Handle(Adaptor3d_TopolTool)&, const TopAbs_Orientation, const double, const double, const double, double&, double&, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const math_Vector&)
{
Standard_DomainError::Raise("BlendFunc_CSConstRad::Section : Not implemented");
}
void FilletSurf_InternalBuilder::PerformSurf(ChFiDS_SequenceOfSurfData&, const Handle_ChFiDS_HElSpine&, const Handle_ChFiDS_Spine&, const int, const Handle_BRepAdaptor_HSurface&, const Handle_Adaptor3d_TopolTool&, const Handle_BRepAdaptor_HCurve2d&, const Handle_BRepAdaptor_HSurface&, const Handle_BRepAdaptor_HCurve2d&, unsigned int&, const TopAbs_Orientation, const Handle_BRepAdaptor_HSurface&, const Handle_Adaptor3d_TopolTool&, const Handle_BRepAdaptor_HCurve2d&, const Handle_BRepAdaptor_HSurface&, const Handle_BRepAdaptor_HCurve2d&, unsigned int&, const TopAbs_Orientation, const double, const double, const double, double&, double&, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const math_Vector&)
void FilletSurf_InternalBuilder::PerformSurf(ChFiDS_SequenceOfSurfData&, const Handle(ChFiDS_HElSpine)&, const Handle(ChFiDS_Spine)&, const int, const Handle(BRepAdaptor_HSurface)&, const Handle(Adaptor3d_TopolTool)&, const Handle(BRepAdaptor_HCurve2d)&, const Handle(BRepAdaptor_HSurface)&, const Handle(BRepAdaptor_HCurve2d)&, unsigned int&, const TopAbs_Orientation, const Handle(BRepAdaptor_HSurface)&, const Handle(Adaptor3d_TopolTool)&, const Handle(BRepAdaptor_HCurve2d)&, const Handle(BRepAdaptor_HSurface)&, const Handle(BRepAdaptor_HCurve2d)&, unsigned int&, const TopAbs_Orientation, const double, const double, const double, double&, double&, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const math_Vector&)
{
Standard_DomainError::Raise("BlendFunc_CSConstRad::Section : Not implemented");
}
void FilletSurf_InternalBuilder::PerformSurf(ChFiDS_SequenceOfSurfData&, const Handle_ChFiDS_HElSpine&, const Handle_ChFiDS_Spine&, const int, const Handle_BRepAdaptor_HSurface&, const Handle_Adaptor3d_TopolTool&, const TopAbs_Orientation, const Handle_BRepAdaptor_HSurface&, const Handle_Adaptor3d_TopolTool&, const Handle_BRepAdaptor_HCurve2d&, const Handle_BRepAdaptor_HSurface&, const Handle_BRepAdaptor_HCurve2d&, unsigned int&, const double, const double, const double, double&, double&, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const math_Vector&)
void FilletSurf_InternalBuilder::PerformSurf(ChFiDS_SequenceOfSurfData&, const Handle(ChFiDS_HElSpine)&, const Handle(ChFiDS_Spine)&, const int, const Handle(BRepAdaptor_HSurface)&, const Handle(Adaptor3d_TopolTool)&, const TopAbs_Orientation, const Handle(BRepAdaptor_HSurface)&, const Handle(Adaptor3d_TopolTool)&, const Handle(BRepAdaptor_HCurve2d)&, const Handle(BRepAdaptor_HSurface)&, const Handle(BRepAdaptor_HCurve2d)&, unsigned int&, const double, const double, const double, double&, double&, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const unsigned int, const math_Vector&)
{
Standard_DomainError::Raise("BlendFunc_CSConstRad::Section : Not implemented");
}

View File

@ -96,7 +96,7 @@ static Standard_Boolean CheckParameters(const
//=======================================================================
static void BuildParameters(const Standard_Boolean PeriodicFlag,
const TColgp_Array1OfPnt2d& PointsArray,
Handle_TColStd_HArray1OfReal& ParametersPtr)
Handle(TColStd_HArray1OfReal)& ParametersPtr)
{
Standard_Integer ii,
index ;
@ -310,7 +310,7 @@ static void ScaleTangents(const TColgp_Array1OfPnt2d& PointsArray,
//=======================================================================
Geom2dAPI_Interpolate::Geom2dAPI_Interpolate
(const Handle_TColgp_HArray1OfPnt2d& PointsPtr,
(const Handle(TColgp_HArray1OfPnt2d)& PointsPtr,
const Standard_Boolean PeriodicFlag,
const Standard_Real Tolerance) :
myTolerance(Tolerance),
@ -352,8 +352,8 @@ myTangentRequest(Standard_False)
//=======================================================================
Geom2dAPI_Interpolate::Geom2dAPI_Interpolate
(const Handle_TColgp_HArray1OfPnt2d& PointsPtr,
const Handle_TColStd_HArray1OfReal& ParametersPtr,
(const Handle(TColgp_HArray1OfPnt2d)& PointsPtr,
const Handle(TColStd_HArray1OfReal)& ParametersPtr,
const Standard_Boolean PeriodicFlag,
const Standard_Real Tolerance) :
myTolerance(Tolerance),
@ -404,7 +404,7 @@ myTangentRequest(Standard_False)
void Geom2dAPI_Interpolate::Load(
const TColgp_Array1OfVec2d& Tangents,
const Handle_TColStd_HArray1OfBoolean& TangentFlagsPtr)
const Handle(TColStd_HArray1OfBoolean)& TangentFlagsPtr)
{
Standard_Boolean result ;
@ -891,7 +891,7 @@ void Geom2dAPI_Interpolate::PerformNonPeriodic()
}
}
//=======================================================================
//function : Handle_Geom2d_BSplineCurve&
//function : Handle(Geom2d_BSplineCurve)&
//purpose :
//=======================================================================

View File

@ -460,7 +460,7 @@ void Geom2dAPI_PointsToBSpline::Init
}
//=======================================================================
//function : Handle_Geom2d_BSplineCurve&
//function : Handle(Geom2d_BSplineCurve)&
//purpose :
//=======================================================================

View File

@ -18,31 +18,31 @@
#include <Geom2d_Curve.hxx>
#include <GeomAbs_Shape.hxx>
void Geom2dLProp_Curve2dTool::Value(const Handle_Geom2d_Curve& C,
void Geom2dLProp_Curve2dTool::Value(const Handle(Geom2d_Curve)& C,
const Standard_Real U, gp_Pnt2d& P)
{
P = C->Value(U);
}
void Geom2dLProp_Curve2dTool::D1(const Handle_Geom2d_Curve& C,
void Geom2dLProp_Curve2dTool::D1(const Handle(Geom2d_Curve)& C,
const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1)
{
C->D1(U, P, V1);
}
void Geom2dLProp_Curve2dTool::D2(const Handle_Geom2d_Curve& C,
void Geom2dLProp_Curve2dTool::D2(const Handle(Geom2d_Curve)& C,
const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2)
{
C->D2(U, P, V1, V2);
}
void Geom2dLProp_Curve2dTool::D3(const Handle_Geom2d_Curve& C,
void Geom2dLProp_Curve2dTool::D3(const Handle(Geom2d_Curve)& C,
const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& V1, gp_Vec2d& V2, gp_Vec2d& V3)
{
C->D3(U, P, V1, V2, V3);
}
Standard_Integer Geom2dLProp_Curve2dTool::Continuity(const Handle_Geom2d_Curve& C)
Standard_Integer Geom2dLProp_Curve2dTool::Continuity(const Handle(Geom2d_Curve)& C)
{
GeomAbs_Shape s = C->Continuity();
switch (s) {
@ -64,12 +64,12 @@ Standard_Integer Geom2dLProp_Curve2dTool::Continuity(const Handle_Geom2d_Curve&
return 0;
}
Standard_Real Geom2dLProp_Curve2dTool::FirstParameter(const Handle_Geom2d_Curve& C)
Standard_Real Geom2dLProp_Curve2dTool::FirstParameter(const Handle(Geom2d_Curve)& C)
{
return C->FirstParameter();
}
Standard_Real Geom2dLProp_Curve2dTool::LastParameter(const Handle_Geom2d_Curve& C)
Standard_Real Geom2dLProp_Curve2dTool::LastParameter(const Handle(Geom2d_Curve)& C)
{
return C->LastParameter();
}

View File

@ -96,7 +96,7 @@ static Standard_Boolean CheckParameters(const
//=======================================================================
static void BuildParameters(const Standard_Boolean PeriodicFlag,
const TColgp_Array1OfPnt& PointsArray,
Handle_TColStd_HArray1OfReal& ParametersPtr)
Handle(TColStd_HArray1OfReal)& ParametersPtr)
{
Standard_Integer ii,
index ;
@ -310,7 +310,7 @@ static void ScaleTangents(const TColgp_Array1OfPnt& PointsArray,
//=======================================================================
GeomAPI_Interpolate::GeomAPI_Interpolate
(const Handle_TColgp_HArray1OfPnt& PointsPtr,
(const Handle(TColgp_HArray1OfPnt)& PointsPtr,
const Standard_Boolean PeriodicFlag,
const Standard_Real Tolerance) :
myTolerance(Tolerance),
@ -351,8 +351,8 @@ myTangentRequest(Standard_False)
//=======================================================================
GeomAPI_Interpolate::GeomAPI_Interpolate
(const Handle_TColgp_HArray1OfPnt& PointsPtr,
const Handle_TColStd_HArray1OfReal& ParametersPtr,
(const Handle(TColgp_HArray1OfPnt)& PointsPtr,
const Handle(TColStd_HArray1OfReal)& ParametersPtr,
const Standard_Boolean PeriodicFlag,
const Standard_Real Tolerance) :
myTolerance(Tolerance),
@ -403,7 +403,7 @@ myTangentRequest(Standard_False)
void GeomAPI_Interpolate::Load(
const TColgp_Array1OfVec& Tangents,
const Handle_TColStd_HArray1OfBoolean& TangentFlagsPtr,
const Handle(TColStd_HArray1OfBoolean)& TangentFlagsPtr,
const Standard_Boolean Scale )
{
@ -898,7 +898,7 @@ void GeomAPI_Interpolate::PerformNonPeriodic()
}
}
//=======================================================================
//function : Handle_Geom_BSplineCurve&
//function : Handle(Geom_BSplineCurve)&
//purpose :
//=======================================================================

View File

@ -339,7 +339,7 @@ void GeomAPI_PointsToBSpline::Init
//=======================================================================
//function : Handle_Geom_BSplineCurve&
//function : Handle(Geom_BSplineCurve)&
//purpose :
//=======================================================================

View File

@ -657,7 +657,7 @@ void GeomAPI_PointsToBSplineSurface::Init(const TColStd_Array2OfReal& ZPoints,
//=======================================================================
//function : Handle_Geom_BSplineSurface&
//function : Handle(Geom_BSplineSurface)&
//purpose :
//=======================================================================

View File

@ -175,7 +175,7 @@ void GeomFill_BoundWithSurf::Reparametrize(const Standard_Real First,
HasDF,HasDL,DF,DL,
Rev,30);
myPar = new Law_BSpFunc();
(*((Handle_Law_BSpFunc*) &myPar))->SetCurve(curve);
(*((Handle(Law_BSpFunc)*) &myPar))->SetCurve(curve);
}
//=======================================================================

View File

@ -394,8 +394,8 @@ void GeomFill_ConstrainedFilling::Init(const Handle(GeomFill_Boundary)& B1,
if(!CheckTgte(i)) {
Handle(Law_Function) fu1,fu2;
ptch->Func(fu1,fu2);
fu1 = Law::MixBnd(*((Handle_Law_Linear*) &fu1));
fu2 = Law::MixBnd(*((Handle_Law_Linear*) &fu2));
fu1 = Law::MixBnd(*((Handle(Law_Linear)*) &fu1));
fu2 = Law::MixBnd(*((Handle(Law_Linear)*) &fu2));
ptch->Func(fu1,fu2);
break;
}
@ -475,8 +475,8 @@ void GeomFill_ConstrainedFilling::Init(const Handle(GeomFill_Boundary)& B1,
if(!CheckTgte(i)) {
Handle(Law_Function) fu1,fu2;
ptch->Func(fu1,fu2);
Handle(Law_Function) ffu1 = Law::MixBnd(*((Handle_Law_Linear*) &fu1));
Handle(Law_Function) ffu2 = Law::MixBnd(*((Handle_Law_Linear*) &fu2));
Handle(Law_Function) ffu1 = Law::MixBnd(*((Handle(Law_Linear)*) &fu1));
Handle(Law_Function) ffu2 = Law::MixBnd(*((Handle(Law_Linear)*) &fu2));
ptch->SetFunc(ffu1,ffu2);
break;
}

View File

@ -33,10 +33,10 @@ GeomFill_CoonsAlgPatch::GeomFill_CoonsAlgPatch
Standard_Real deb0, deb1, fin0, fin1;
B2->Bounds(deb1,fin1);
a[0] = new Law_Linear();
(*((Handle_Law_Linear*) &a[0]))->Set(deb1,1.,fin1,0.);
(*((Handle(Law_Linear)*) &a[0]))->Set(deb1,1.,fin1,0.);
B1->Bounds(deb0,fin0);
a[1] = new Law_Linear();
(*((Handle_Law_Linear*) &a[1]))->Set(deb0,0.,fin0,1.);
(*((Handle(Law_Linear)*) &a[1]))->Set(deb0,0.,fin0,1.);
gp_XYZ temp;
temp = B4->Value(deb1).XYZ().Added(B1->Value(deb0).XYZ());

View File

@ -147,7 +147,7 @@ Standard_Boolean verifD2(const TColgp_Array1OfVec& DP1,
#endif
// fonction d'evaluation des poles et des poids de mySurface pour D1 et D2
static void ResultEval(const Handle_Geom_BSplineSurface& surf,
static void ResultEval(const Handle(Geom_BSplineSurface)& surf,
const Standard_Real V,
const Standard_Integer deriv,
TColStd_Array1OfReal& Result)

View File

@ -43,7 +43,7 @@ GeomFill_SectionGenerator::GeomFill_SectionGenerator()
//purpose :
//=======================================================================
void GeomFill_SectionGenerator::SetParam(const Handle_TColStd_HArray1OfReal & Params)
void GeomFill_SectionGenerator::SetParam(const Handle(TColStd_HArray1OfReal) & Params)
{
Standard_Integer ii, L = Params->Upper()-Params->Lower()+1;
myParams = Params;

View File

@ -77,7 +77,7 @@ void GeomFill_SimpleBound::Reparametrize(const Standard_Real First,
HasDF,HasDL,DF,DL,
Rev,30);
myPar = new Law_BSpFunc();
(*((Handle_Law_BSpFunc*) &myPar))->SetCurve(curve);
(*((Handle(Law_BSpFunc)*) &myPar))->SetCurve(curve);
}
//=======================================================================

View File

@ -18,31 +18,31 @@
#include <Geom_Curve.hxx>
#include <GeomAbs_Shape.hxx>
void GeomLProp_CurveTool::Value(const Handle_Geom_Curve& C,
void GeomLProp_CurveTool::Value(const Handle(Geom_Curve)& C,
const Standard_Real U, gp_Pnt& P)
{
P = C->Value(U);
}
void GeomLProp_CurveTool::D1(const Handle_Geom_Curve& C,
void GeomLProp_CurveTool::D1(const Handle(Geom_Curve)& C,
const Standard_Real U, gp_Pnt& P, gp_Vec& V1)
{
C->D1(U, P, V1);
}
void GeomLProp_CurveTool::D2(const Handle_Geom_Curve& C,
void GeomLProp_CurveTool::D2(const Handle(Geom_Curve)& C,
const Standard_Real U, gp_Pnt& P, gp_Vec& V1, gp_Vec& V2)
{
C->D2(U, P, V1, V2);
}
void GeomLProp_CurveTool::D3(const Handle_Geom_Curve& C,
void GeomLProp_CurveTool::D3(const Handle(Geom_Curve)& C,
const Standard_Real U, gp_Pnt& P, gp_Vec& V1, gp_Vec& V2, gp_Vec& V3)
{
C->D3(U, P, V1, V2, V3);
}
Standard_Integer GeomLProp_CurveTool::Continuity(const Handle_Geom_Curve& C)
Standard_Integer GeomLProp_CurveTool::Continuity(const Handle(Geom_Curve)& C)
{
GeomAbs_Shape s = C->Continuity();
switch (s) {
@ -64,12 +64,12 @@ Standard_Integer GeomLProp_CurveTool::Continuity(const Handle_Geom_Curve& C)
return 0;
}
Standard_Real GeomLProp_CurveTool::FirstParameter(const Handle_Geom_Curve& C)
Standard_Real GeomLProp_CurveTool::FirstParameter(const Handle(Geom_Curve)& C)
{
return C->FirstParameter();
}
Standard_Real GeomLProp_CurveTool::LastParameter(const Handle_Geom_Curve& C)
Standard_Real GeomLProp_CurveTool::LastParameter(const Handle(Geom_Curve)& C)
{
return C->LastParameter();
}

View File

@ -19,20 +19,20 @@
#include <GeomAbs_Shape.hxx>
void GeomLProp_SurfaceTool::Value(const Handle_Geom_Surface& S,
void GeomLProp_SurfaceTool::Value(const Handle(Geom_Surface)& S,
const Standard_Real U, const Standard_Real V, gp_Pnt& P)
{
P = S->Value(U, V);
}
void GeomLProp_SurfaceTool::D1(const Handle_Geom_Surface& S,
void GeomLProp_SurfaceTool::D1(const Handle(Geom_Surface)& S,
const Standard_Real U, const Standard_Real V,
gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V)
{
S->D1(U, V, P, D1U, D1V);
}
void GeomLProp_SurfaceTool::D2(const Handle_Geom_Surface& S,
void GeomLProp_SurfaceTool::D2(const Handle(Geom_Surface)& S,
const Standard_Real U, const Standard_Real V,
gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& DUV)
{
@ -43,7 +43,7 @@ void GeomLProp_SurfaceTool::D2(const Handle_Geom_Surface& S,
//function : DN
//purpose :
//=======================================================================
gp_Vec GeomLProp_SurfaceTool::DN(const Handle_Geom_Surface& S,
gp_Vec GeomLProp_SurfaceTool::DN(const Handle(Geom_Surface)& S,
const Standard_Real U,
const Standard_Real V,
const Standard_Integer IU,
@ -52,7 +52,7 @@ gp_Vec GeomLProp_SurfaceTool::DN(const Handle_Geom_Surface& S,
return S->DN(U, V, IU, IV);
}
Standard_Integer GeomLProp_SurfaceTool::Continuity(const Handle_Geom_Surface& S)
Standard_Integer GeomLProp_SurfaceTool::Continuity(const Handle(Geom_Surface)& S)
{
GeomAbs_Shape s = S->Continuity();
switch (s) {
@ -74,7 +74,7 @@ Standard_Integer GeomLProp_SurfaceTool::Continuity(const Handle_Geom_Surface& S
return 0;
}
void GeomLProp_SurfaceTool::Bounds(const Handle_Geom_Surface& S,
void GeomLProp_SurfaceTool::Bounds(const Handle(Geom_Surface)& S,
Standard_Real& U1, Standard_Real& V1,
Standard_Real& U2, Standard_Real& V2)
{

View File

@ -1053,7 +1053,7 @@ void GeomLib::BuildCurve3d(const Standard_Real Tolerance,
Adaptor3d_CurveOnSurface& Curve,
const Standard_Real FirstParameter,
const Standard_Real LastParameter,
Handle_Geom_Curve& NewCurvePtr,
Handle(Geom_Curve)& NewCurvePtr,
Standard_Real& MaxDeviation,
Standard_Real& AverageDeviation,
const GeomAbs_Shape Continuity,

View File

@ -1081,14 +1081,14 @@ Standard_Boolean GeomPlate_BuildPlateSurface::IsDone() const
//---------------------------------------------------------
// fonction : Surface
//---------------------------------------------------------
Handle_GeomPlate_Surface GeomPlate_BuildPlateSurface::Surface() const
Handle(GeomPlate_Surface) GeomPlate_BuildPlateSurface::Surface() const
{ return myGeomPlateSurface ;
}
//---------------------------------------------------------
// fonction : SurfInit
//---------------------------------------------------------
Handle_Geom_Surface GeomPlate_BuildPlateSurface::SurfInit() const
Handle(Geom_Surface) GeomPlate_BuildPlateSurface::SurfInit() const
{ return mySurfInit ;
}
@ -1096,7 +1096,7 @@ Handle_Geom_Surface GeomPlate_BuildPlateSurface::SurfInit() const
//---------------------------------------------------------
// fonction : Sense
//---------------------------------------------------------
Handle_TColStd_HArray1OfInteger GeomPlate_BuildPlateSurface::Sense() const
Handle(TColStd_HArray1OfInteger) GeomPlate_BuildPlateSurface::Sense() const
{ Standard_Integer NTCurve = myLinCont->Length();
Handle(TColStd_HArray1OfInteger) Sens = new TColStd_HArray1OfInteger(1,
NTCurve);
@ -1110,7 +1110,7 @@ Handle_TColStd_HArray1OfInteger GeomPlate_BuildPlateSurface::Sense() const
//---------------------------------------------------------
// fonction : Curve2d
//---------------------------------------------------------
Handle_TColGeom2d_HArray1OfCurve GeomPlate_BuildPlateSurface::Curves2d() const
Handle(TColGeom2d_HArray1OfCurve) GeomPlate_BuildPlateSurface::Curves2d() const
{ Standard_Integer NTCurve = myLinCont->Length();
Handle(TColGeom2d_HArray1OfCurve) C2dfin =
new TColGeom2d_HArray1OfCurve(1,NTCurve);
@ -1125,8 +1125,8 @@ Handle_TColGeom2d_HArray1OfCurve GeomPlate_BuildPlateSurface::Curves2d() const
//---------------------------------------------------------
//fonction : Order
//---------------------------------------------------------
Handle_TColStd_HArray1OfInteger GeomPlate_BuildPlateSurface::Order() const
{ Handle_TColStd_HArray1OfInteger result=
Handle(TColStd_HArray1OfInteger) GeomPlate_BuildPlateSurface::Order() const
{ Handle(TColStd_HArray1OfInteger) result=
new TColStd_HArray1OfInteger(1,myLinCont->Length());
for (Standard_Integer i=1;i<=myLinCont->Length();i++)
result->SetValue(myInitOrder->Value(i),i);

View File

@ -203,14 +203,14 @@ void GeomPlate_CurveConstraint :: D2(const Standard_Real U,
//---------------------------------------------------------
// Fonction : SetG0Criterion
//---------------------------------------------------------
void GeomPlate_CurveConstraint :: SetG0Criterion(const Handle_Law_Function &G0Crit)
void GeomPlate_CurveConstraint :: SetG0Criterion(const Handle(Law_Function) &G0Crit)
{ myG0Crit=G0Crit;
myConstG0=Standard_False;
}
//---------------------------------------------------------
// Fonction : SetG1Criterion
//---------------------------------------------------------
void GeomPlate_CurveConstraint :: SetG1Criterion(const Handle_Law_Function &G1Crit)
void GeomPlate_CurveConstraint :: SetG1Criterion(const Handle(Law_Function) &G1Crit)
{ if (!my3dCurve.IsNull())
Standard_Failure::Raise("GeomPlate_CurveConstraint.cxx : Curve must be on a Surface");
myG1Crit=G1Crit;
@ -219,7 +219,7 @@ void GeomPlate_CurveConstraint :: SetG1Criterion(const Handle_Law_Function &G1Cr
//---------------------------------------------------------
// Fonction : SetG2Criterion
//---------------------------------------------------------
void GeomPlate_CurveConstraint :: SetG2Criterion(const Handle_Law_Function &G2Crit)
void GeomPlate_CurveConstraint :: SetG2Criterion(const Handle(Law_Function) &G2Crit)
{ if (!my3dCurve.IsNull())
Standard_Failure::Raise("GeomPlate_CurveConstraint.cxx : Curve must be on a Surface");
myG2Crit=G2Crit;

View File

@ -596,7 +596,7 @@ static Standard_Integer interpol (Draw_Interpretor& di,Standard_Integer n, const
char dimen[3];
iFile >> dimen;
if (!strcmp(dimen,"3d")) {
Handle_TColgp_HArray1OfPnt Point =
Handle(TColgp_HArray1OfPnt) Point =
new TColgp_HArray1OfPnt(1, nbp);
for (i = 1; i <= nbp; i++) {
iFile >> x >> y >> z;
@ -683,7 +683,7 @@ static Standard_Integer tanginterpol (Draw_Interpretor& di,
if ( n < num_parameters * 3 + num_read) {
return 1 ;
}
Handle_TColgp_HArray1OfPnt PointsArrayPtr=
Handle(TColgp_HArray1OfPnt) PointsArrayPtr=
new TColgp_HArray1OfPnt(1,num_parameters) ;
num_tangents = ((n - num_read) / 3) - num_parameters ;
@ -706,7 +706,7 @@ static Standard_Integer tanginterpol (Draw_Interpretor& di,
if (num_tangents > 0) {
TColgp_Array1OfVec TangentsArray(1,num_parameters) ;
Handle_TColStd_HArray1OfBoolean
Handle(TColStd_HArray1OfBoolean)
TangentFlagsPtr =
new TColStd_HArray1OfBoolean(1,num_parameters) ;

View File

@ -1068,7 +1068,7 @@ static Standard_Integer EllipsUniformAbscissa (Draw_Interpretor& di, Standard_In
return 1;
//test nbPoints for Geom_Ellipse
Handle_Geom_Ellipse ellip;
Handle(Geom_Ellipse) ellip;
try

View File

@ -112,7 +112,7 @@ HLRBRep_BSurfaceTool::VIntervals(const BRepAdaptor_Surface& Surf,
//purpose :
//=======================================================================
inline Handle_Adaptor3d_HSurface
inline Handle(Adaptor3d_HSurface)
HLRBRep_BSurfaceTool::UTrim(const BRepAdaptor_Surface& Surf,
const Standard_Real F,
const Standard_Real L,
@ -124,7 +124,7 @@ HLRBRep_BSurfaceTool::UTrim(const BRepAdaptor_Surface& Surf,
//purpose :
//=======================================================================
inline Handle_Adaptor3d_HSurface
inline Handle(Adaptor3d_HSurface)
HLRBRep_BSurfaceTool::VTrim(const BRepAdaptor_Surface& Surf,
const Standard_Real F,
const Standard_Real L,

View File

@ -56,14 +56,14 @@ inline void HLRBRep_SurfaceTool::VIntervals(const Standard_Address Surf,
}
inline Handle_Adaptor3d_HSurface HLRBRep_SurfaceTool::UTrim(const Standard_Address Surf,
inline Handle(Adaptor3d_HSurface) HLRBRep_SurfaceTool::UTrim(const Standard_Address Surf,
const Standard_Real F,
const Standard_Real L,
const Standard_Real Tol) {
return ((BRepAdaptor_Surface *)Surf)->UTrim(F,L,Tol);
}
inline Handle_Adaptor3d_HSurface HLRBRep_SurfaceTool::VTrim(const Standard_Address Surf,
inline Handle(Adaptor3d_HSurface) HLRBRep_SurfaceTool::VTrim(const Standard_Address Surf,
const Standard_Real F,
const Standard_Real L,
const Standard_Real Tol) {

View File

@ -2488,7 +2488,7 @@ IFSelect_ReturnStatus IFSelect_WorkSession::SendAll
}
}
else checks = thecopier->SendAll(filename,thegraph->Graph(),thelibrary,theprotocol);
Handle_Interface_Check aMainFail = checks.CCheck(0);
Handle(Interface_Check) aMainFail = checks.CCheck(0);
if (!aMainFail.IsNull() && aMainFail->HasFailed ())
{
return IFSelect_RetStop;

Some files were not shown because too many files have changed in this diff Show More