BobLd
b9419469ac
add PdfSubpath and PdfPath geometry extensions
2020-08-29 17:08:02 +01:00
BobLd
bb33741552
Fix KdTree.FindNearestNeighbours(k) returning the pivot itself
2020-05-10 15:49:00 +01:00
BobLd
93c19d72ec
improve mbr by removing PdfPoints creation
2020-04-18 11:09:49 +01:00
BobLd
401c4484b5
remove static for local function (recommended by VS2019)
2020-04-05 17:58:57 +01:00
BobLd
a7fe39fc32
Add SvgTextExporter
...
Modify WriteSvg to account for height
2020-04-05 17:58:57 +01:00
BobLd
ab6a0f11fc
Change name from PdfPath to PdfSubpath
2020-04-05 17:58:57 +01:00
BobLd
5f0ddf131e
make OrientedBoundingBox public
2020-03-24 19:52:01 +00:00
BobLd
c1a1fa1f7f
- fix minimum area rectangle algo and make it public
...
- add tests
- tidy up code
2020-03-15 17:20:36 +01:00
BobLd
5b8a2f2e38
handle k-nearest neighbours search
...
update DocstrumBB with kd-tree
2020-03-15 15:39:19 +01:00
Eliot Jones
8df2f9cf6b
generate all xml docs and pack them #148
...
after we split the solution into multiple projects the xml doc comments were no longer packed in the generated nuget package. in addition they were only generated for the net standard 2.0 target framework.
this change generates comments for all target frameworks and makes sure they're included in the generated package. it also adds missing doc comments where they weren't included on the public api and clears up a couple of minor formatting issues in the affected files.
2020-03-08 13:44:09 +00:00
BobLd
1e1a33d46e
fix typo in kd-tree
...
replace Count() by Count or Length
2020-03-06 16:53:18 +00:00
BobLd
b0eaccf56f
Add PdfRectangle.Contains(PdfRectangle) and tests
2020-02-23 14:44:35 +00:00
BobLd
bbdb778d5e
use Count == 0 i.o. !Any()
2020-02-23 11:23:27 +00:00
BobLd
c6669679d6
use MemberData in Line.Length tests
2020-02-23 11:23:27 +00:00
BobLd
1b15238e31
avoid creating PdfLines in IntersectsWith
2020-02-23 11:23:27 +00:00
BobLd
49caa071ba
improve length computation
...
tidy up IntersectsWith()
2020-02-23 11:23:27 +00:00
BobLd
42245d70ca
Improve PdfRectangle.GetWidthHeight();
...
Improve and simplify Word's oriented bounding box
2020-02-23 11:23:27 +00:00
BobLd
67c5abf2b6
fix Intersect(BezierCurve, Line) and add tests
2020-02-23 11:23:27 +00:00
BobLd
2878e74017
Add bezier curve test
2020-02-23 11:23:27 +00:00
BobLd
36566f42e6
Create generic methods for lines in GeometryExtensions
2020-02-23 11:23:27 +00:00
BobLd
6fe0ef0351
Add line tests and improve GeometryExtensions
2020-02-23 11:23:27 +00:00
BobLd
b8d1eba8ee
PdfLine.Insersect()
2020-02-23 11:23:27 +00:00
BobLd
d2ac2f598a
update Centroid, GetWidthHeight and tests
2020-02-23 11:23:27 +00:00
BobLd
2c8c6cda87
add GeometryExtensions tests
2020-02-23 11:23:27 +00:00
BobLd
dd8baa0d2f
Fix stack overflow error in RecursiveXYCut
...
Was linked to the new rotated rectangle methods
2020-02-10 13:53:59 +00:00
BobLd
df73206788
try rerun failed tests
2020-02-09 14:20:47 +00:00
BobLd
6a86cdab73
make GeometryExtensions.OrientedBoundingBox() internal
2020-02-09 14:20:47 +00:00
BobLd
288beab39d
limit access to array and add comments
2020-02-09 14:20:47 +00:00
BobLd
7364e53bb9
Improve bounding box for word
2020-02-09 14:20:47 +00:00
BobLd
0e613fb526
Handle cases with not enough points in minimal bounding rectangle
2020-01-31 16:24:59 +00:00
BobLd
253ae32193
Remove ordering from minimal bounding rectangle
2020-01-31 16:24:59 +00:00
BobLd
0dad611cb1
Implement minimum bounding box algorithm
2020-01-31 16:24:59 +00:00
Eliot Jones
b29354e3e6
move compact font format fonts to fonts project
2020-01-05 12:08:01 +00:00
Eliot Jones
7c0ef111ea
move classes to new projects
...
to make the project more useful and expose more usable classes we're rearchitecting in the following way. code used to read fonts from external file formats like truetype, adobe font metrics (afm) and adobe type 1 fonts are moving to a new project which doesn't reference most of the pdf logic. the shared logic is moving to a new flat-structured project called core. this is a sort-of onion type architecture, with core being the... core, fonts being the next layer of the onion, pdfpig itself the next. this will then support additional libraries/projects as outer layers of the onion as well as releasing standalone version of the font library as pdfbox does with fontbox.
2020-01-04 16:38:18 +00:00
BobLd
d246bf5c74
- remove unnecessary casts
...
- make PageXmlTextExporter.Deserialize() public
2019-12-31 10:43:07 +00:00
Eliot Jones
935d182888
use doubles where calculations are being run
2019-12-24 12:22:17 +00:00
BobLd
5cf1f6c58c
Modifications and adding som tests
2019-12-16 14:36:52 +00:00
BobLd
1656411fcb
Improving Geometry classes with Tests
2019-12-14 11:41:11 +00:00