Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

C++ AddShape expects Mat(4x4) as vertices (3xN)

#1
Hi,

I could get this to work with Python, but as far as I understood, in C++ something is wrong.

Look at AddShape API:

Quote: Item RoboDK:: AddShape (Mat*trianglePoints,Item*addTo,boolshapeOverride,Color*color)
三角形Points= List of vertices grouped by 三角形s (3xN or 6xN matrix, N must be multiple of 3 because vertices must be stacked by groups of 3)


However, Mat is only a 4x4 matrix class!

Quote: classROBODKMat:publicQMatrix4x4

How can I use AddShape in C++? What type of value do I need to pass in?


Messages In This Thread
C++ AddShape expects Mat(4x4) as vertices (3xN) - bymFarzanehkaloorazi- 07-30-2019, 07:07 PM



Users browsing this thread:
1 Guest(s)