fix: Correct ElCLib point conversion function names
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -155,14 +155,14 @@ void ApplicationController::addRectangle(const gp_Pnt& corner1, const gp_Pnt& co
|
||||
|
||||
const auto& plane = m_activeSketch->plane();
|
||||
|
||||
gp_Pnt2d p1_2d = ElCLib::To2d(corner1, plane);
|
||||
gp_Pnt2d p3_2d = ElCLib::To2d(corner2, plane);
|
||||
gp_Pnt2d p1_2d = ElCLib::Value(corner1, plane);
|
||||
gp_Pnt2d p3_2d = ElCLib::Value(corner2, plane);
|
||||
|
||||
gp_Pnt2d p2_2d(p3_2d.X(), p1_2d.Y());
|
||||
gp_Pnt2d p4_2d(p1_2d.X(), p3_2d.Y());
|
||||
|
||||
gp_Pnt p2_3d = ElCLib::To3d(p2_2d, plane);
|
||||
gp_Pnt p4_3d = ElCLib::To3d(p4_2d, plane);
|
||||
gp_Pnt p2_3d = ElCLib::Value(p2_2d, plane);
|
||||
gp_Pnt p4_3d = ElCLib::Value(p4_2d, plane);
|
||||
|
||||
TopoDS_Edge e1 = BRepBuilderAPI_MakeEdge(corner1, p2_3d);
|
||||
TopoDS_Edge e2 = BRepBuilderAPI_MakeEdge(p2_3d, corner2);
|
||||
|
||||
Reference in New Issue
Block a user