Skip to content
GitLab
    • Why GitLab
    • Pricing
    • Contact Sales
    • Explore
  • Why GitLab
  • Pricing
  • Contact Sales
  • Explore
  • Sign in
  • Get free trial
  • libeigenlibeigen
  • eigeneigen
  • Issues
  • #301

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 Dec 05, 2019 by Eigen Bugzilla
Assignee
Assign to
Time tracking