mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-09-02 09:26:11 +08:00
Foundation Classes, gp - Mark core types and methods constexpr/noexcept (#790)
Make gp basic types and operations more constexpr-friendly and noexcept: - Mark gp::Resolution as constexpr. - Add constexpr and/or noexcept to many constructors and small access/modifier methods. - Convert several functions to constexpr where safe to allow compile-time evaluation. - Initialize members via initializer lists for several GTrsf/GTrsf2d/Mat/etc constructors. - Add noexcept to transformation/serialization helpers and small utilities where appropriate. This enables better compile-time optimizations and safer noexcept semantics across TKMath gp primitives.
This commit is contained in:
@@ -1648,7 +1648,6 @@ void BRepFill_CompatibleWires::ComputeOrigin(const Standard_Boolean /*polar*/)
|
||||
// reorganize the wires respecting orientation and origin
|
||||
|
||||
TopoDS_Vertex Vdeb, Vfin;
|
||||
gp_Pnt Pdeb, Psuiv, PPs;
|
||||
|
||||
BRepTools_WireExplorer anExp;
|
||||
|
||||
@@ -1979,6 +1978,9 @@ void BRepFill_CompatibleWires::ComputeOrigin(const Standard_Boolean /*polar*/)
|
||||
}
|
||||
#ifdef OCCT_DEBUG_EFV
|
||||
|
||||
gp_Pnt PPs;
|
||||
gp_Pnt Pdeb, Psuiv;
|
||||
|
||||
for (i = ideb; i <= myWork.Length(); i++)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user