Operator* overload for opencascade gp_Vec

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
SanyaT
Posts: 1
Joined: Thu Sep 16, 2021 7:27 am

Operator* overload for opencascade gp_Vec

Post by SanyaT »

Hi everybody,

I am not sure if this is the right place to post my question, but I wanted to try my luck here.

I am checking C++ implementation of BSplineCurveBiArcs.cpp in FreeCAD and there are lot of occurences of vector multiplication that results in a double value. Does anybody knows if the operator* is overloaded as dot product or is it something else? I have checked the opencascade forum and unfortunately I haven't found this specific implementation. C++ is definitely not my language, so I might have missed it.

I would very much appreciate any hints.

Thank you all!
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Operator* overload for opencascade gp_Vec

Post by openBrain »

dot.png
dot.png (15.03 KiB) Viewed 679 times
Post Reply