![]() |
G+Smo
25.01.0
Geometry + Simulation Modules
|
Provides implementation of gsWriteParasolid function. More...
Include dependency graph for gsWriteParasolid.hpp:Go to the source code of this file.
Namespaces | |
| namespace | gismo |
| The G+Smo namespace, containing all definitions for the library. | |
Functions | |
| template<class T > | |
| bool | createPK_BCURVE (const gsBSpline< T > &curve, PK_BCURVE_t &bcurve) |
| template<class T > | |
| bool | createPK_BSURF (const gsTensorBSpline< 2, T > &bsp, PK_BSURF_t &bsurf, bool closed_u=false, bool closed_v=false) |
| template<class T > | |
| bool | createPK_GEOM (const gsGeometry< T > &ggeo, PK_GEOM_t &pgeo) |
| template<class T > | |
| bool | exportMesh (const gsMesh< T > &mesh, PK_BODY_t &body) |
| template<class T > | |
| bool | exportTHBsurface (const gsTHBSpline< 2, T > &surface, const std::vector< T > &par_boxes, PK_ASSEMBLY_t &body) |
| template<class T > | |
| bool | exportTHBsurface (const gsTHBSpline< 2, T > &surface, PK_ASSEMBLY_t &body) |
| template<class T > | |
| bool | gsWriteParasolid (const gsGeometry< T > &ggeo, std::string const &filename) |
| template<class T > | |
| bool | gsWritePK_SHEET (const gsTensorBSpline< 2, T > &tp, const std::string &filename) |
| Converts tp into a PK_SHEET and writes it to filename.xmt_txt. | |
| template<class T > | |
| bool | parBoxesIntersect (const std::vector< T > &par_boxes) |
Provides implementation of gsWriteParasolid function.
This file is part of the G+Smo library.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Author(s): A. Mantzaflaris, D. Mokris
| bool createPK_BCURVE | ( | const gsBSpline< T > & | curve, |
| PK_BCURVE_t & | bcurve | ||
| ) |
Translates a gsBSpline to a PK_BCURVE_t
| [in] | curve | B-Spline surve |
| [out] | bcurve | Parasolid spline curve |
| bool createPK_BSURF | ( | const gsTensorBSpline< 2, T > & | bsp, |
| PK_BSURF_t & | bsurf, | ||
| bool | closed_u = false, |
||
| bool | closed_v = false |
||
| ) |
Translates a gsTensorBSpline to a PK_BSURF_t
| [in] | bsp | B-spline surface |
| [out] | bsurf | Parasolid spline surface |
| bool createPK_GEOM | ( | const gsGeometry< T > & | ggeo, |
| PK_GEOM_t & | pgeo | ||
| ) |
Translates a gsGeometry to a PK_GEOM_t
| [in] | ggeo | inpute G+SMO geometry |
| [out] | pgeo | Parasolid geometric entity |
| bool exportMesh | ( | const gsMesh< T > & | mesh, |
| PK_BODY_t & | body | ||
| ) |
Translates a gsMesh to PK_BODY_t
| [in] | mesh | input G+Smo mesh |
| [out] | body | Parasolid wire body |
| bool exportTHBsurface | ( | const gsTHBSpline< 2, T > & | surface, |
| const std::vector< T > & | par_boxes, | ||
| PK_ASSEMBLY_t & | body | ||
| ) |
Translates a THB-Spline surface to PK_BODY_t
| [in] | surface | THB-Spline surface |
| [in] | boxes | which give the splitting of the domain |
| [out] | body | Parasolid body |
| bool exportTHBsurface | ( | const gsTHBSpline< 2, T > & | surface, |
| PK_ASSEMBLY_t & | body | ||
| ) |
Translates a THB-Spline surface to PK_BODY_t
| [in] | surface | THB-Spline surface |
| [out] | body | Parasolid body |
| bool gsWriteParasolid | ( | const gsGeometry< T > & | ggeo, |
| std::string const & | filename | ||
| ) |
Writes a gsSurface to a parasolid file
| gssurf | a surface |
| fname | filename (without extension) |
| bool parBoxesIntersect | ( | const std::vector< T > & | par_boxes | ) |
Checks if there are intersections in a given vector of par_boxes
| [in] | vector | of real_t, always 4 elements describe a box: [lowU,lowV,upU,upV] |