41 typedef int PK_GEOM_t;
42 typedef int PK_BSURF_t;
43 typedef int PK_BCURVE_t;
44 typedef int PK_BODY_t;
45 typedef int PK_ASSEMBLY_t;
50 namespace extensions {
59 bool gsWriteParasolid(
const gsGeometry<T> & ggeo, std::string
const & filename );
62 bool gsWriteParasolid(
const gsMultiPatch<T> & gssurfs, std::string
const & filename );
65 bool gsWriteParasolid(
const gsMesh<T>& mesh, std::string
const & filename );
68 bool gsWriteParasolid(
const gsTHBSpline<2, T>& thb, std::string
const & filename );
71 bool gsWriteParasolid(
const gsTHBSpline<2, T>& thb,
const std::vector<T>&par_boxes, std::string
const & filename );
75 bool gsWritePK_SHEET(
const gsTensorBSpline<2, T>& tp,
const std::string& filename);
82 bool createPK_BSURF(
const gsTensorBSpline< 2,T> & bsp, PK_BSURF_t & bsurf,
83 bool closed_u =
false,
bool closed_v =
false );
89 bool createPK_BCURVE(
const gsBSpline<T>& curve, PK_BCURVE_t& bcurve );
95 bool createPK_GEOM(
const gsGeometry<T> & ggeo, PK_GEOM_t & pgeo );
101 bool exportMesh(
const gsMesh<T>& mesh, PK_BODY_t& body );
107 bool exportTHBsurface(
const gsTHBSpline<2, T>& surface, PK_ASSEMBLY_t& body );
114 bool exportTHBsurface(
const gsTHBSpline<2, T>& surface,
const std::vector<T>& par_boxes, PK_ASSEMBLY_t& body );
117 bool getTrimCurvesAndBoundingBoxes(
const gsTHBSpline<2, T>& surface,
118 const std::vector<T>& par_boxes,
119 std::vector<gsTrimData<T> >& trimdata);
128 bool getParBoxAsIndexBoxInLevel(
const gsTHBSplineBasis<2, T>& basis,
unsigned lvl,
129 const std::vector<real_t>& par_box,std::vector<unsigned>& index_box);
134 bool parBoxesIntersect(
const std::vector<T>& par_boxes);
Manages starting and stopping Parasolid session.
Provides declaration of THBSplineBasis class.
Provides forward declarations of types and structs.