Version: 6.3.1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends

GEOMImpl_PipeTShapeDriver Class Reference

#include <GEOMImpl_PipeTShapeDriver.hxx>

Inheritance diagram for GEOMImpl_PipeTShapeDriver:
Inheritance graph

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT GEOMImpl_PipeTShapeDriver ()
virtual Standard_EXPORT
Standard_Integer 
Execute (TFunction_Logbook &log) const
virtual Standard_EXPORT void Validate (TFunction_Logbook &) const
Standard_EXPORT Standard_Boolean MustExecute (const TFunction_Logbook &) const
Standard_EXPORT ~GEOMImpl_PipeTShapeDriver ()
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const
Standard_EXPORT Standard_Boolean IsKind (const Handle(Standard_Type)&AType) const

Static Public Member Functions

static Standard_EXPORT const
Standard_GUID & 
GetID ()

Private Member Functions

TopoDS_Shape MakePipeTShape (double r1, double w1, double l1, double r2, double w2, double l2) const
 Create a T-Shape based on pipes.
TopoDS_Shape MakeQuarterPipeTShape (double r1, double w1, double l1, double r2, double w2, double l2) const
 Create a quarter of a T-Shape based on pipes.
 Handle (TColStd_HSequenceOfInteger) GetShapesOnSurfaceIDs(const Handle(Geom_Surface)&theSurface
 Find IDs of subshapes complying with given status about surface.
 Handle (TColStd_HSequenceOfInteger) GetShapesOnBoxIDs(const TopoDS_Shape &aBox
 Find IDs of subshapes complying with given status about surface.
void GetCommonShapesOnCylinders (const TopoDS_Shape &theShape, TopAbs_ShapeEnum theShapeType, double r, double r2, Handle(TopTools_HSequenceOfShape)&commonShapes) const

Private Attributes

const TopoDS_Shape & theShape
const TopoDS_Shape TopAbs_ShapeEnum theShapeType
const TopoDS_Shape
TopAbs_ShapeEnum
GEOMAlgo_State theState 
const
const TopoDS_Shape & aShape
const TopoDS_Shape const
Standard_Integer 
theShapeType
const TopoDS_Shape const
Standard_Integer
GEOMAlgo_State theState 
const

Friends

Standard_EXPORT friend
Handle_Standard_Type & 
GEOMImpl_PipeTShapeDriver_Type_ ()

Constructor & Destructor Documentation

GEOMImpl_PipeTShapeDriver::GEOMImpl_PipeTShapeDriver ( )
Standard_EXPORT GEOMImpl_PipeTShapeDriver.~GEOMImpl_PipeTShapeDriver ( )

Member Function Documentation

void* GEOMImpl_PipeTShapeDriver.operator new ( size_t  ,
void *  anAddress 
)
void* GEOMImpl_PipeTShapeDriver.operator new ( size_t  size)
void GEOMImpl_PipeTShapeDriver.operator delete ( void *  anAddress)
Standard_Integer GEOMImpl_PipeTShapeDriver::Execute ( TFunction_Logbook &  log) const [virtual]
virtual Standard_EXPORT void GEOMImpl_PipeTShapeDriver.Validate ( TFunction_Logbook &  ) const [virtual]
Standard_EXPORT Standard_Boolean GEOMImpl_PipeTShapeDriver.MustExecute ( const TFunction_Logbook &  ) const
const Standard_GUID & GEOMImpl_PipeTShapeDriver::GetID ( ) [static]
Standard_EXPORT const GEOMImpl_PipeTShapeDriver.Handle ( Standard_Type  ) const

References STANDARD_TYPE().

Standard_EXPORT Standard_Boolean GEOMImpl_PipeTShapeDriver.IsKind ( const Handle(Standard_Type)&  AType) const

References STANDARD_TYPE().

TopoDS_Shape GEOMImpl_PipeTShapeDriver::MakePipeTShape ( double  r1,
double  w1,
double  l1,
double  r2,
double  w2,
double  l2 
) const [private]
Parameters:
r1- the internal radius of main pipe
w1- the thickness main pipe
l1- the half-length of main pipe
r2- the internal radius of incident pipe
w2- the thickness incident pipe
l2- the half-length of main pipe
Return values:
TopoDS_Shape- Resulting shape
TopoDS_Shape GEOMImpl_PipeTShapeDriver::MakeQuarterPipeTShape ( double  r1,
double  w1,
double  l1,
double  r2,
double  w2,
double  l2 
) const [private]
Parameters:
r1- the internal radius of main pipe
w1- the thickness main pipe
l1- the half-length of main pipe
r2- the internal radius of incident pipe
w2- the thickness incident pipe
l2- the half-length of main pipe
Return values:
TopoDS_Shape- Resulting shape

References MakePipeTShape().

GEOMImpl_PipeTShapeDriver.Handle ( TColStd_HSequenceOfInteger  ) const [private]
Parameters:
theSurface- the surface to check state of subshapes against
theShape- the shape to explore
theShapeType- type of subshape of theShape
theState- required state
Return values:
Handle(TColStd_HSequenceOfInteger)- IDs of found subshapes
GEOMImpl_PipeTShapeDriver.Handle ( TColStd_HSequenceOfInteger  ) const [private]
Parameters:
theBox- the box to check state of subshapes against
theShape- the shape to explore
theShapeType- type of subshape of theShape
theState- required state
Return values:
Handle(TColStd_HSequenceOfInteger)- IDs of found subshapes
void GEOMImpl_PipeTShapeDriver::GetCommonShapesOnCylinders ( const TopoDS_Shape &  theShape,
TopAbs_ShapeEnum  theShapeType,
double  r,
double  r2,
Handle(TopTools_HSequenceOfShape)&  commonShapes 
) const [private]

Friends And Related Function Documentation

Standard_EXPORT friend Handle_Standard_Type& GEOMImpl_PipeTShapeDriver_Type_ ( ) [friend]

Field Documentation

const TopoDS_Shape& GEOMImpl_PipeTShapeDriver.theShape [private]
const TopoDS_Shape TopAbs_ShapeEnum GEOMImpl_PipeTShapeDriver.theShapeType [private]
const TopoDS_Shape TopAbs_ShapeEnum GEOMAlgo_State theState GEOMImpl_PipeTShapeDriver.const [private]
const TopoDS_Shape& GEOMImpl_PipeTShapeDriver.aShape [private]
const TopoDS_Shape const Standard_Integer GEOMImpl_PipeTShapeDriver.theShapeType [private]
const TopoDS_Shape const Standard_Integer GEOMAlgo_State theState GEOMImpl_PipeTShapeDriver.const [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS