Registered Member
|
Hi,
I'm wondering how to compute the intersection of a plane with a line in a simple way...
I don't understand why: THIS_METHOD_IS_ONLY_FOR_VECTORS_OF_A_SPECIFIC_SIZE How should I compute the intersection of a plane with a line? Documentation here has no examples... Thanks! |
Registered Member
|
In 3D space, a hyperplane is a 2D plane. Lines are not hyperplanes in 3D space. Therefore Hyperplane<double,3> can't represent a line.
Suggestion: use the ParametrizedLine class instead to represent your line.
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Registered Member
|
Ok, thanks for the suggestion, but I also have such problem.
Last edited by linello on Thu Apr 21, 2011 6:42 am, edited 1 time in total.
|
Registered Member
|
Yeah, I think that's it... and sorry for the clumsy API, I didn't remember that it returned the parameter. We need a method returning the point itself.
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora