Hi All!
I need example for
V3d_View_ConvertWithProj(...)
V3d_View_ConvertWithProj(V3d_View self, Standard_Integer Xp,
Standard_Integer Yp,
V3d_Coordinate X, V3d_Coordinate Y, V3d_Coordinate Z)
ConvertWithProj(self, Standard_Integer Xp, Standard_Integer Yp,
V3d_Coordinate X,
V3d_Coordinate Y, V3d_Coordinate Z,
Standard_Real OutValue, Standard_Real OutValue,
Standard_Real OutValue)
All my attempts finished:
TypeError: in method 'V3d_View_ConvertWithProj', argument 4 of type
'V3d_Coordinate &'
For example:
view = self._3dDisplay.GetView().GetObject()
Xw = 1.
Yw = 1.
Zw =1.
X1, Y1, Z1 = view.ConvertWithProj(pt1.x, pt1.y, Xw,Yw,Zw)
What is V3d_Coordinate type? How define it into Python code?
Thanks!
--
С уважением, Суханов Владимир, зав.кафедрой ПСС ФУО УГТУ-УПИ
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users