WaveBEM: Unsteady Nonlinear Potential Flow Solver for Ship-Wave Interaction.
OpenCascade Namespace Reference

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

Classes

class  ArclengthProjection
 
class  AxisProjection
 
struct  comp_points_on_curve
 
struct  edge_ordering_rule
 
class  LineSmoothing
 
class  NormalProjection
 

Functions

TopoDS_Shape read_IGES (std::string filename, double scale_factor=1e-3)
 Read IGES files and translate. More...
 
TopoDS_Shape extract_xz_edges (const TopoDS_Shape &in_shape, const double tolerance, const unsigned int max_num_edges)
 
TopoDS_Shape extract_transom_edges (const TopoDS_Shape &in_shape, const unsigned int num_transom_edges, const double tolerance)
 
TopoDS_Shape merge_surfaces (const TopoDS_Shape &, const double)
 
void 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 interpolation_curve_points_sort (std::vector< Point< 3 > > &curve_points, Point< 3 > direction)
 
Handle_Geom_Curve interpolation_curve (std::vector< Point< 3 > > &curve_points)
 
void feature_edges_detection ()
 
Handle_Geom_Curve interpolation_curve_points_sort (std::vector< dealii::Point< 3 > > &curve_points, dealii::Point< 3 > direction=dealii::Point< 3 >())
 
Handle_Geom_Curve interpolation_curve (std::vector< dealii::Point< 3 > > &curve_points)
 
dealii::Point< 3 > Pnt (const gp_Pnt &p)
 Convert OpenCascade point into. More...
 
gp_Pnt Pnt (const dealii::Point< 3 > &p)
 Convert Deal.II point into. More...
 
bool point_compare (const dealii::Point< 3 > &p1, const dealii::Point< 3 > &p2, const dealii::Point< 3 > &direction)
 

Detailed Description

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

Function Documentation

TopoDS_Shape OpenCascade::extract_transom_edges ( const TopoDS_Shape &  in_shape,
const unsigned int  num_transom_edges,
const double  tolerance 
)

Definition at line 262 of file occ_utilities.cc.

TopoDS_Shape OpenCascade::extract_xz_edges ( const TopoDS_Shape &  in_shape,
const double  tolerance,
const unsigned int  max_num_edges 
)

Definition at line 124 of file occ_utilities.cc.

void OpenCascade::feature_edges_detection ( )

Definition at line 620 of file occ_utilities.cc.

Handle_Geom_Curve OpenCascade::interpolation_curve ( std::vector< dealii::Point< 3 > > &  curve_points)
Handle_Geom_Curve OpenCascade::interpolation_curve ( std::vector< Point< 3 > > &  curve_points)

Definition at line 596 of file occ_utilities.cc.

Handle_Geom_Curve OpenCascade::interpolation_curve_points_sort ( std::vector< dealii::Point< 3 > > &  curve_points,
dealii::Point< 3 >  direction = dealii::Point< 3 >() 
)
Handle_Geom_Curve OpenCascade::interpolation_curve_points_sort ( std::vector< Point< 3 > > &  curve_points,
Point< 3 >  direction 
)

Definition at line 566 of file occ_utilities.cc.

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 
)

Perform the intersection of the.

Definition at line 461 of file occ_utilities.cc.

TopoDS_Shape OpenCascade::merge_surfaces ( const TopoDS_Shape &  ,
const double   
)

Definition at line 390 of file occ_utilities.cc.

dealii::Point<3> OpenCascade::Pnt ( const gp_Pnt &  p)
inline

Convert OpenCascade point into.

Definition at line 76 of file occ_utilities.h.

gp_Pnt OpenCascade::Pnt ( const dealii::Point< 3 > &  p)
inline

Convert Deal.II point into.

Definition at line 84 of file occ_utilities.h.

bool OpenCascade::point_compare ( const dealii::Point< 3 > &  p1,
const dealii::Point< 3 > &  p2,
const dealii::Point< 3 > &  direction 
)
inline

Definition at line 91 of file occ_utilities.h.

TopoDS_Shape OpenCascade::read_IGES ( string  filename,
double  scale_factor 
)

Read IGES files and translate.

Definition at line 94 of file occ_utilities.cc.