mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
singular edges and points in CS-Geometry
This commit is contained in:
parent
7829560b77
commit
9d3360a9a2
@ -465,7 +465,17 @@ DLL_HEADER void ExportCSG(py::module &m)
|
||||
self.AddSplineSurface(surf);
|
||||
}),
|
||||
py::arg("SplineSurface"))
|
||||
|
||||
.def("SingularEdge", [] (CSGeometry & self, shared_ptr<SPSolid> s1,shared_ptr<SPSolid> s2, double factor)
|
||||
{
|
||||
auto singedge = new SingularEdge(1, -1, self, s1->GetSolid(), s2->GetSolid(), factor);
|
||||
self.singedges.Append (singedge);
|
||||
})
|
||||
.def("SingularPoint", [] (CSGeometry & self, shared_ptr<SPSolid> s1,shared_ptr<SPSolid> s2,
|
||||
shared_ptr<SPSolid> s3, double factor)
|
||||
{
|
||||
auto singpoint = new SingularPoint(1, s1->GetSolid(), s2->GetSolid(), s3->GetSolid(), factor);
|
||||
self.singpoints.Append (singpoint);
|
||||
})
|
||||
.def("CloseSurfaces", FunctionPointer
|
||||
([] (CSGeometry & self, shared_ptr<SPSolid> s1, shared_ptr<SPSolid> s2, py::list aslices )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user