Henry Schimke
3fc068f49b
swap point_f and point functions
2023-05-04 14:50:32 -05:00
Henry Schimke
80f06ecb3c
move maxicode detector to PointT
2023-05-04 14:40:59 -05:00
Henry Schimke
b508698334
more generic point in result_point_util
2023-05-04 14:15:14 -05:00
Henry Schimke
634722a806
cargo clippy --fix
2023-05-04 13:45:57 -05:00
Henry Schimke
e8501c1b6e
cargo --fix
2023-05-04 13:17:15 -05:00
Henry Schimke
592a4d694c
move more to generic points
2023-05-04 13:16:44 -05:00
Henry Schimke
74a830f462
switch to using Point in one-d-derive macros
...
Also start updates to make point more generic, still not complete or fully implemented.
Some code cleanup
2023-04-29 17:51:26 -05:00
Henry Schimke
483539a194
fix pattern test
2023-04-24 17:49:04 -05:00
Henry Schimke
d08f67feed
partial test complete
2023-04-24 17:42:40 -05:00
Henry Schimke
3d75de7183
DetectPureQR ported
2023-03-20 11:09:06 -05:00
Henry Schimke
4c8db1f73f
in_progress port from cpp
2023-03-18 15:48:47 -05:00
Henry Schimke
80c5e57632
does not build, mostly ported concentric_finder
2023-03-11 19:06:55 -06:00
Henry Schimke
e1332c8010
port DefaultGridSampler
2023-03-08 14:36:43 -06:00
Henry Schimke
bef21af81e
clippy --fix && fmt
2023-03-06 11:37:37 -06:00
Henry Schimke
fe8f89cd29
move from AztecPoint to Point
2023-03-06 11:27:24 -06:00
Vukašin Stepanović
1322f7defa
remove impl ResultPoint for FinderPattern & AlignmentPattern
2023-02-16 16:33:22 +00:00
Vukašin Stepanović
0992e85e6c
remove ResultPoint trait uses of Point
...
Point already has `x` and `y` properties, so accessing
them with `getX()` and `getY()` is needlessly verbose.
These calls have been removed, though the trait impl is
still presen for the time being, since the OneDReader
proc macro requires it.
2023-02-16 15:54:07 +00:00
Vukašin Stepanović
39b4866e47
add point(x: f32, y: f32) function
...
Shorter than writing `Point::new`
2023-02-16 11:20:03 +00:00
Vukašin Stepanović
79d9b28d19
remove MathUtils::distance()
2023-02-16 09:28:22 +00:00
Vukašin Stepanović
05e377e85b
add aliases so the OneDReader proc macro compiles
...
Currently it's not possible to rename RXingResultPoint
to Point cleanly, since the external OneDReader proc macro
makes use of them. For the time being, simple aliases
are introduced to get the code to compile, but the plan
is to remove them at a later point.
2023-02-16 08:31:35 +00:00
Vukašin Stepanović
dbc6ca4e55
wip: Search & replace RXingResultPoint with Point
...
Build fails because the OneDReader proc macro expects
that a RXingResultPoint type exists.
2023-02-16 08:25:32 +00:00
Vukašin Stepanović
4a35cb6e99
use Self::new() for point creation
2023-02-16 07:03:02 +00:00
Vukašin Stepanović
049d27723d
refactor aztec Detector::expand_square
2023-02-15 14:54:51 +00:00
Vukašin Stepanović
6b7099a03b
remove indirection for RxingResultPoint
...
Previously, the struct was passed around everywhere as a
reference. It only holds two floats, so there's no real
need for indirection. Now it's being passed as a value.
2023-02-15 14:42:07 +00:00
Henry Schimke
6355dc1bfd
add basic serde support
2023-01-26 14:01:29 -06:00
Henry Schimke
8a52d47959
port of the c++ datamatrix detector
2023-01-18 18:47:38 -06:00
Henry Schimke
9f7a41f81c
many small rustifications
2023-01-10 14:33:47 -06:00
Henry Schimke
48287631dd
Implement clippy suggestions
2023-01-04 14:48:16 -06:00
Henry Schimke
ae11af8c5b
cargo fmt
2022-10-17 10:51:08 -05:00
Henry Schimke
111fe47566
cleaned up many warnings
2022-10-17 10:50:18 -05:00