FougTools  0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
geom_utils.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** FougTools
3 ** Copyright Fougue (30 Mar. 2015)
4 ** contact@fougue.pro
5 **
6 ** This software is a computer program whose purpose is to provide utility
7 ** tools for the C++ language and the Qt toolkit.
8 **
9 ** This software is governed by the CeCILL-C license under French law and
10 ** abiding by the rules of distribution of free software. You can use,
11 ** modify and/ or redistribute the software under the terms of the CeCILL-C
12 ** license as circulated by CEA, CNRS and INRIA at the following URL
13 ** "http://www.cecill.info".
14 ****************************************************************************/
15 
16 #pragma once
17 
18 #include "occtools.h"
19 
20 #include <Handle_Geom_Curve.hxx>
21 #include <Handle_Geom_Surface.hxx>
22 #include <gp_Pnt2d.hxx>
23 #include <gp_Dir2d.hxx>
24 #include <gp_Dir.hxx>
25 #include <gp_Pnt.hxx>
26 #include <gp_Vec.hxx>
27 
28 namespace occ {
29 
31 {
32 public:
33  static gp_Pnt geomCurveD0(const Handle_Geom_Curve& curve, Standard_Real u);
34  static Standard_Real curveLength(const Handle_Geom_Curve& curve);
35  static Standard_Real curveLengthBetweenParams(
36  const Handle_Geom_Curve& curve,
37  Standard_Real firstU,
38  Standard_Real lastU);
39  static gp_Vec normalToSurfaceAtUV(
40  const Handle_Geom_Surface& surface,
41  Standard_Real u,
42  Standard_Real v);
43 };
44 
45 } // namespace occ
#define OCCTOOLS_EXPORT
Definition: occtools.h:27
Definition: ais_text.cpp:31
Collection of tools for the Geom package.
Definition: geom_utils.h:30