G+Smo  25.01.0
Geometry + Simulation Modules
 
Loading...
Searching...
No Matches
gsWriteOpenNurbs.h
Go to the documentation of this file.
1
14#pragma once
15
16#include <gsCore/gsDebug.h>
17
18#include <gsIO/gsXml.h>
19
20class ON_Surface;
21class ON_Curve;
22class ON_NurbsSurface;
23class ON_NurbsCurve;
24class ON_NurbsCage;
25class ON_Brep;
26class ON_MorphControl;
27class ONX_Model;
28
29namespace gismo {
30
31namespace extensions {
32
34/*
35template <typename T>
36void gsWriteOpenNurbs(const gsGeometry<T>& geom,
37 const std::string& fileName);
38*/
39
41template<class T>
42bool writeON_PlanarDomain( const gsPlanarDomain<T> & pd, const std::string & name);
43
44template<class T>
45bool writeON_MultiPatch( const gsMultiPatch<T> & patches, const std::string & name);
46
47template<class T>
48bool writeON_NurbsCurve( const gsCurve<T> & curve, ONX_Model & model, const std::string & name);
49
50template<class T>
51bool writeON_NurbsSurface( const gsSurface<T> & curve, ONX_Model & model, const std::string & name);
52
53template<class T>
54bool writeON_NurbsSurface( const gsSurface<T> & srf, const std::string & name);
55
56template<class T>
57bool writeON_NurbsCurve( const gsCurve<T> & curve, const std::string & name);
58
59template<class T>
60bool writeON_Mesh(const gsMesh<T> & msh, const std::string & name);
61
62}
63
64} // namespace gismo
65
66
69
70
71#ifndef GISMO_BUILD_LIB
72#include GISMO_HPP_HEADER(gsWriteOpenNurbs.hpp)
73#endif
This file contains the debugging and messaging system of G+Smo.
bool writeON_PlanarDomain(const gsPlanarDomain< T > &pd, const std::string &name)
Writes a planar domain to OpenNurbs file.
Definition gsWriteOpenNurbs.hpp:263
bool writeON_NurbsSurface(const gsSurface< T > &curve, ONX_Model &model, const std::string &name)
Writes a Surface to OpenNurbs file.
Definition gsWriteOpenNurbs.hpp:166
bool writeON_NurbsCurve(const gsCurve< T > &curve, ONX_Model &model, const std::string &name)
Writes a Curve to OpenNurbs file.
Definition gsWriteOpenNurbs.hpp:123
bool writeON_MultiPatch(const gsMultiPatch< T > &patches, const std::string &name)
Writes a MultiPatch to OpenNurbs file.
Definition gsWriteOpenNurbs.hpp:236
bool writeON_Mesh(const gsMesh< T > &msh, const std::string &name)
Writes a Mesh to OpenNurbs file.
Definition gsWriteOpenNurbs.hpp:286
Provides declaration of input/output XML utilities struct.
The G+Smo namespace, containing all definitions for the library.