Version: 6.3.1
Defines | Functions

src/GEOMImpl/GEOMImpl_IAdvancedOperations.cxx File Reference

#include <Standard_Stream.hxx>
#include "GEOMImpl_Types.hxx"
#include "GEOMImpl_IAdvancedOperations.hxx"
#include "GEOMImpl_IBasicOperations.hxx"
#include "GEOMImpl_IBooleanOperations.hxx"
#include "GEOMImpl_IShapesOperations.hxx"
#include "GEOMImpl_ITransformOperations.hxx"
#include "GEOMImpl_IBlocksOperations.hxx"
#include "GEOMImpl_I3DPrimOperations.hxx"
#include "GEOMImpl_ILocalOperations.hxx"
#include "GEOMImpl_IHealingOperations.hxx"
#include "GEOMImpl_Gen.hxx"
#include <utilities.h>
#include <OpUtil.hxx>
#include <Utils_ExceptHandlers.hxx>
#include "GEOM_Function.hxx"
#include "GEOM_PythonDump.hxx"
#include "GEOMImpl_PipeTShapeDriver.hxx"
#include "GEOMImpl_IPipeTShape.hxx"
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <gp_Pnt.hxx>
#include <gp_Vec.hxx>
#include <gp_Ax3.hxx>
#include <BRepBuilderAPI_Transform.hxx>
#include <BRep_Tool.hxx>
#include <cmath>
#include <TFunction_DriverTable.hxx>
#include <TFunction_Driver.hxx>
#include <TFunction_Logbook.hxx>
#include <TDF_Tool.hxx>
#include <Standard_Failure.hxx>
#include <Standard_ErrorHandler.hxx>
Include dependency graph for GEOMImpl_IAdvancedOperations.cxx:

Defines

#define HALF_LENGTH_MAIN_PIPE   "Main pipe half length"
#define HALF_LENGTH_INCIDENT_PIPE   "Incident pipe half length"
#define CIRCULAR_QUARTER_PIPE   "Circular quarter of pipe"
#define THICKNESS   "Thickness"
#define FLANGE   "Flange"
#define CHAMFER_OR_FILLET   "Chamfer or fillet"
#define JUNCTION_FACE_1   "Junction 1"
#define JUNCTION_FACE_2   "Junction 2"
#define JUNCTION_FACE_3   "Junction 3"

Functions

 Handle (TColStd_HSequenceOfTransient) GEOMImpl_IAdvancedOperations

Define Documentation

#define HALF_LENGTH_MAIN_PIPE   "Main pipe half length"
#define HALF_LENGTH_INCIDENT_PIPE   "Incident pipe half length"
#define CIRCULAR_QUARTER_PIPE   "Circular quarter of pipe"
#define THICKNESS   "Thickness"
#define FLANGE   "Flange"
#define CHAMFER_OR_FILLET   "Chamfer or fillet"
#define JUNCTION_FACE_1   "Junction 1"
#define JUNCTION_FACE_2   "Junction 2"
#define JUNCTION_FACE_3   "Junction 3"

Function Documentation

Handle ( TColStd_HSequenceOfTransient  )

MakePipeTShape Create a T-shape object with specified caracteristics for the main and the incident pipes (radius, width, half-length). Center of the shape is (0,0,0). The main plane of the T-shape is XOY.

Parameters:
theR1Internal radius of main pipe
theW1Width of main pipe
theL1Half-length of main pipe
theR2Internal radius of incident pipe (R2 < R1)
theW2Width of incident pipe (R2+W2 < R1+W1)
theL2Half-length of incident pipe
theHexMeshBoolean indicating if shape is prepared for hex mesh
Returns:
List of GEOM_Objects, containing the created shape and propagation groups.

MakePipeTShapeWithPosition Create a T-shape object with specified caracteristics for the main and the incident pipes (radius, width, half-length). The extremities of the main pipe are located on junctions points P1 and P2. The extremity of the incident pipe is located on junction point P3.

Parameters:
theR1Internal radius of main pipe
theW1Width of main pipe
theL1Half-length of main pipe
theR2Internal radius of incident pipe (R2 < R1)
theW2Width of incident pipe (R2+W2 < R1+W1)
theL2Half-length of incident pipe
theHexMeshBoolean indicating if shape is prepared for hex mesh
theP11st junction point of main pipe
theP22nd junction point of main pipe
theP3Junction point of incident pipe
Returns:
List of GEOM_Objects, containing the created shape and propagation groups..

MakePipeTShapeChamfer Create a T-shape object with specified caracteristics for the main and the incident pipes (radius, width, half-length). A chamfer is created on the junction of the pipes. Center of the shape is (0,0,0). The main plane of the T-shape is XOY.

Parameters:
theR1Internal radius of main pipe
theW1Width of main pipe
theL1Half-length of main pipe
theR2Internal radius of incident pipe (R2 < R1)
theW2Width of incident pipe (R2+W2 < R1+W1)
theL2Half-length of incident pipe
theHHeight of chamfer.
theWWidth of chamfer.
theHexMeshBoolean indicating if shape is prepared for hex mesh
Returns:
List of GEOM_Objects, containing the created shape and propagation groups.

MakePipeTShapeChamferWithPosition Create a T-shape object with specified caracteristics for the main and the incident pipes (radius, width, half-length). A chamfer is created on the junction of the pipes. The extremities of the main pipe are located on junctions points P1 and P2. The extremity of the incident pipe is located on junction point P3.

Parameters:
theR1Internal radius of main pipe
theW1Width of main pipe
theL1Half-length of main pipe
theR2Internal radius of incident pipe (R2 < R1)
theW2Width of incident pipe (R2+W2 < R1+W1)
theL2Half-length of incident pipe
theHHeight of chamfer.
theWWidth of chamfer.
theHexMeshBoolean indicating if shape is prepared for hex mesh
theP11st junction point of main pipe
theP22nd junction point of main pipe
theP3Junction point of incident pipe
Returns:
List of GEOM_Objects, containing the created shape and propagation groups.

MakePipeTShapeFillet Create a T-shape object with specified caracteristics for the main and the incident pipes (radius, width, half-length). A fillet is created on the junction of the pipes. Center of the shape is (0,0,0). The main plane of the T-shape is XOY.

Parameters:
theR1Internal radius of main pipe
theW1Width of main pipe
theL1Half-length of main pipe
theR2Internal radius of incident pipe (R2 < R1)
theW2Width of incident pipe (R2+W2 < R1+W1)
theL2Half-length of incident pipe
theRFRadius of curvature of fillet.
theHexMeshBoolean indicating if shape is prepared for hex mesh
Returns:
List of GEOM_Objects, containing the created shape and propagation groups.

MakePipeTShapeFilletWithPosition Create a T-shape object with specified caracteristics for the main and the incident pipes (radius, width, half-length). A fillet is created on the junction of the pipes. The extremities of the main pipe are located on junctions points P1 and P2. The extremity of the incident pipe is located on junction point P3.

Parameters:
theR1Internal radius of main pipe
theW1Width of main pipe
theL1Half-length of main pipe
theR2Internal radius of incident pipe (R2 < R1)
theW2Width of incident pipe (R2+W2 < R1+W1)
theL2Half-length of incident pipe
theRFRadius of curvature of fillet
theHexMeshBoolean indicating if shape is prepared for hex mesh
theP11st junction point of main pipe
theP22nd junction point of main pipe
theP3Junction point of incident pipe
Returns:
List of GEOM_Objects, containing the created shape and propagation groups.

References GEOM_TSHAPE, GEOMImpl_PipeTShapeDriver.GetID(), Handle(), PAL_MESH_030_geometry.i, KO, OK, GEOMImpl_IPipeTShape.SetHexMesh(), GEOMImpl_IPipeTShape.SetL1(), GEOMImpl_IPipeTShape.SetL2(), GEOMImpl_IPipeTShape.SetR1(), GEOMImpl_IPipeTShape.SetR2(), GEOMImpl_IPipeTShape.SetW1(), GEOMImpl_IPipeTShape.SetW2(), and TSHAPE_BASIC.

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