mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 04:40:34 +05:00
Merge remote-tracking branch 'StefanBruens/fix_switch_enum'
This commit is contained in:
commit
132261ec4d
@ -194,6 +194,7 @@ namespace netgen
|
|||||||
case ROOT:
|
case ROOT:
|
||||||
return s1->PointInSolid (p, eps);
|
return s1->PointInSolid (p, eps);
|
||||||
}
|
}
|
||||||
|
throw Exception("PointInSolid: invalid op");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -213,6 +214,7 @@ namespace netgen
|
|||||||
case ROOT:
|
case ROOT:
|
||||||
return s1->VecInSolid (p, v, eps);
|
return s1->VecInSolid (p, v, eps);
|
||||||
}
|
}
|
||||||
|
throw Exception("VecInSolid: invalid op");
|
||||||
}
|
}
|
||||||
|
|
||||||
// checks if lim s->0 lim t->0 p + t(v1 + s v2) in solid
|
// checks if lim s->0 lim t->0 p + t(v1 + s v2) in solid
|
||||||
@ -233,6 +235,7 @@ namespace netgen
|
|||||||
case ROOT:
|
case ROOT:
|
||||||
return s1->VecInSolid2 (p, v1, v2, eps);
|
return s1->VecInSolid2 (p, v1, v2, eps);
|
||||||
}
|
}
|
||||||
|
throw Exception("VecInSolid2: invalid op");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -200,6 +200,7 @@ py::object CastShape(const TopoDS_Shape & s)
|
|||||||
case TopAbs_SHAPE:
|
case TopAbs_SHAPE:
|
||||||
return py::cast(s);
|
return py::cast(s);
|
||||||
}
|
}
|
||||||
|
throw Exception("Invalid Shape type");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user