Vector3d.Subtract an point subtraction

Does Vector3D.Subtract(vec1,vec2) and Point3D-Point3D produce the same result?

@Petras, yes. But the order of the operation is important.

– Dale

Thanks
What do you mean by order?

Subracting either from first vector/point or vice versa?

I had this question because I was using library that does all operation with vectors only.

Other side question:
what is the benefit for using matrices as vector arrays instead of using just arrays of vectors only?
Is it in general faster working with matrices that represents vector array? Or there are very convenient method for matrices for instance using eigen library?

Hi @Petras,

As vectors have direction, the order of the operation is important.

I’m not sure I understand the context. And I don’t know anyting about an eigen library…

– Dale