ParametrizedLine origin assumptions affect isApprox
Submitted by Andy Somerville
Assigned to Nobody
Link to original bugzilla bug (#301)
Version: 3.0
Description
ParametrizedLine operates under the assumption that origins passed in are standardized. If developers create two lines that are mathematically identical, but are created with different origins, functions such as isApprox will fail unexpectedly.
There's a chance I'm misunderstanding something, but it seems that this is a bug.
There are two solutions I can think of:
- As in the warning about the direction being normalized, we could warn that the origin is assumed to be a particular dim - 1 intercept,
- We could calculate some standardized origin internally though this might cause lowered performance for those creating large numbers of ParametrizedLines.
Edited by Eigen Bugzilla