WaveBEM: Unsteady Nonlinear Potential Flow Solver for Ship-Wave Interaction.
occ_utilities.cc File Reference
#include "occ_utilities.h"
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <set>
#include <IGESControl_Reader.hxx>
#include <IGESControl_Controller.hxx>
#include <IGESControl_Writer.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Shell.hxx>
#include <TopoDS_Face.hxx>
#include <TopoDS_Edge.hxx>
#include <BRepTools.hxx>
#include <XSControl_Reader.hxx>
#include <TopTools_SequenceOfShape.hxx>
#include <Handle_Standard_Transient.hxx>
#include <TColStd_SequenceOfTransient.hxx>
#include <TColStd_HSequenceOfTransient.hxx>
#include <TopExp_Explorer.hxx>
#include <gp_Pnt.hxx>
#include <gp_Vec.hxx>
#include <GeomAPI_ProjectPointOnSurf.hxx>
#include <GeomAPI_ProjectPointOnCurve.hxx>
#include <Standard_Real.hxx>
#include <Standard_Integer.hxx>
#include <BRep_Tool.hxx>
#include <Geom_Surface.hxx>
#include <Geom_Plane.hxx>
#include <Prs3d_ShapeTool.hxx>
#include <GeomAPI_IntSS.hxx>
#include <Bnd_Box.hxx>
#include <gp_Trsf.hxx>
#include <gp_Ax3.hxx>
#include <gp_Pln.hxx>
#include <BRepBuilderAPI_Transform.hxx>
#include <GeomConvert_CompCurveToBSplineCurve.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <TColGeom_Array1OfCurve.hxx>
#include <TColgp_HArray1OfPnt.hxx>
#include <Geom_Curve.hxx>
#include <Geom_BoundedCurve.hxx>
#include <Geom_TrimmedCurve.hxx>
#include <Geom_BSplineCurve.hxx>
#include <GeomAPI_Interpolate.hxx>
#include <BRepAlgo_Section.hxx>
#include <boost/bind.hpp>
#include <GeomLib_Tool.hxx>
#include <TColGeom_Array2OfBezierSurface.hxx>
#include <ProjLib_ProjectOnPlane.hxx>
#include <Adaptor3d_HCurve.hxx>
#include <GeomAdaptor_HCurve.hxx>
#include <ShapeAnalysis_Surface.hxx>
#include <GeomLProp_SLProps.hxx>
#include <BRepExtrema_DistShapeShape.hxx>
#include <BRepBuilderAPI_MakeVertex.hxx>
#include <GCPnts_AbscissaPoint.hxx>
#include <GeomLProp_CLProps.hxx>
#include <BRep_Builder.hxx>
#include <BRepBndLib.hxx>
#include <BRepMesh.hxx>
#include <GeomPlate_BuildPlateSurface.hxx>
#include <GeomPlate_MakeApprox.hxx>
#include <Adaptor3d_HCurveOnSurface.hxx>
#include <GeomPlate_CurveConstraint.hxx>
#include <TColgp_SequenceOfXY.hxx>
#include <TColgp_SequenceOfXYZ.hxx>
#include <GeomPlate_PlateG0Criterion.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <BRepBuilderAPI_MakeFace.hxx>
#include <BRepMesh_IncrementalMesh.hxx>
#include <Poly_Triangulation.hxx>
#include <BRepMesh_FastDiscret.hxx>
#include <deal.II/base/utilities.h>
#include <deal.II/base/exceptions.h>
#include <vector>
#include <algorithm>

Go to the source code of this file.

Namespaces

 OpenCascade
 We collect in this namespace all utilities which operate on OpenCascade entities which don't need classes of their own.
 

Macros

#define FALSE   0
 
#define TRUE   1
 

Functions

TopoDS_Shape OpenCascade::read_IGES (std::string filename, double scale_factor=1e-3)
 Read IGES files and translate. More...
 
TopoDS_Shape OpenCascade::extract_xz_edges (const TopoDS_Shape &in_shape, const double tolerance, const unsigned int max_num_edges)
 
TopoDS_Shape OpenCascade::extract_transom_edges (const TopoDS_Shape &in_shape, const unsigned int num_transom_edges, const double tolerance)
 
TopoDS_Shape OpenCascade::merge_surfaces (const TopoDS_Shape &, const double)
 
void OpenCascade::intersect_plane (const TopoDS_Shape &in_shape, TopoDS_Shape &out_shape, const double c_x, const double c_y, const double c_z, const double c, const double tolerance=1e-7)
 Perform the intersection of the. More...
 
Handle_Geom_Curve OpenCascade::interpolation_curve_points_sort (std::vector< Point< 3 > > &curve_points, Point< 3 > direction)
 
Handle_Geom_Curve OpenCascade::interpolation_curve (std::vector< Point< 3 > > &curve_points)
 
void OpenCascade::feature_edges_detection ()
 

Macro Definition Documentation

#define FALSE   0

Definition at line 79 of file occ_utilities.cc.

#define TRUE   1

Definition at line 80 of file occ_utilities.cc.