Commit graph

223 commits

Author SHA1 Message Date
Oliver Bolte
9e56a0c529 #100000# linux parse problem 2004-03-18 11:03:36 +00:00
Oliver Bolte
c3ca9fb10e #100000# depends on tools 2004-03-18 07:56:47 +00:00
Thorsten Behrens
0f907c2d94 #110496# Corrected algo 2004-03-15 13:27:35 +00:00
Thorsten Behrens
8f359dc2b5 #110496# Moved methods into basegfx namespace 2004-03-15 13:26:57 +00:00
Thorsten Behrens
cd2ca2e0d1 #110496# Made B2ITuple convertible to B2DTuple. Completed filter list 2004-02-25 08:54:11 +00:00
Thorsten Behrens
ea8c622450 #110496# Added tools lib to dll 2004-02-24 21:10:45 +00:00
Thorsten Behrens
da430538da Initial revisio 2004-02-24 20:45:29 +00:00
Thorsten Behrens
d0a000f25c Initial revision 2004-02-24 20:42:27 +00:00
Thorsten Behrens
4f9a1f1b4b #110496# Made headers gcc-Wall clean, added some Canvas-related tooling 2004-02-16 16:03:11 +00:00
Armin Weiss
2c3e2190e0 Added areControlPointsUsed(), areControlVectorsUsed() methods 2004-02-12 16:33:43 +00:00
Armin Weiss
b23dfd18d7 Changed usages of (G/S)etControlVector(A/B) to use the new curve convention that both vectors are relative to the point of the edge. Before, B was relative to the next edge.
Also added (G/S)etControlPoint(A/B) interface for B2DPolygon.
2004-02-12 16:11:42 +00:00
Thorsten Behrens
9347a2f749 Finished adaptive subdivision for cubic beziers. Quadratic beziers are still missing, though 2004-02-04 11:13:18 +00:00
Thorsten Behrens
5a5cf6254f Finished test code for adaptive bezier subdivision, and added generic gnuplot output code 2004-02-04 11:11:33 +00:00
Armin Weiss
352b1ab173 Re-Added some automatic type conversions 2004-02-03 17:18:23 +00:00
Armin Weiss
99a300e39a Added == and != operators to ranges, some other goodies, too. Also changed remaining sal_Bool to bool. Renamed B(2|3)(d|i)box to ...volume. 2004-01-16 13:30:10 +00:00
Thorsten Behrens
c794c5ce7e #110496# Some more adaptions to integer classes 2004-01-16 12:40:26 +00:00
Thorsten Behrens
e1ee37accf Initial revision 2004-01-16 09:39:11 +00:00
Thorsten Behrens
fb6fefbd94 #110496# Added integer point, size and rectangle classes, needed for the new canvas 2004-01-16 09:34:43 +00:00
Thorsten Behrens
08761ff6d5 Initial revision 2004-01-15 19:02:49 +00:00
Thorsten Behrens
714d35775f Updated unit tests 2003-12-08 15:56:04 +00:00
Thorsten Behrens
2c3b8d0c57 Merged to AW's latest changes, added preliminary bezier testcases 2003-12-08 12:24:09 +00:00
Thorsten Behrens
994bff5b74 Initial revision 2003-12-08 12:21:24 +00:00
Armin Weiss
220242e6f7 remaned min, max, abs to their longer names due to preprocessor expansions 2003-12-03 08:24:28 +00:00
Armin Weiss
d539c95155 Removed in-between namespaces (curve, matrix, numeric, point, polygon, range, tuple, vector). Names were too common and e.g. vector leaded to problems with some defines. This is now avoided. Also some bug fixes, addition of 3d polygon tooling etc. 2003-11-28 10:18:16 +00:00
Armin Weiss
56f2ab808e Added support for B3DPolyPOlygon, moved BDRange from source/inc to range namespace and the directories 2003-11-26 13:40:18 +00:00
Armin Weiss
c4068e1d9c BDRange no longer needed, moved to namespace range and the directories there 2003-11-26 13:32:41 +00:00
Armin Weiss
fc4520995d Added support for B3DPolygons 2003-11-26 13:31:41 +00:00
Armin Weiss
f3d9724069 Moved BasicRange header and implementation to range namespace and directories 2003-11-26 13:30:28 +00:00
Armin Weiss
449096b836 Added B3DPolygon support 2003-11-26 13:29:22 +00:00
Thorsten Behrens
2b4cf487a6 Put Impl class into anonymous namespace 2003-11-12 11:12:40 +00:00
Thorsten Behrens
6993a65de0 Added scalar cross() method to B2DVector, which returns length of the 2D cross product (useful e.g. for angle calculations) 2003-11-12 11:11:24 +00:00
Thorsten Behrens
d29fb24a43 Added second adaptive subdivision method (this time with an angle differences as the stopping criterion 2003-11-12 11:09:52 +00:00
Armin Weiss
db78936286 added B2DVector::angle 2003-11-11 08:56:10 +00:00
Armin Weiss
d2e3aaa262 Added functionality at the Poly and PolyPolygon tools for subdivides, corrected polygon clipper further 2003-11-11 08:48:14 +00:00
Thorsten Behrens
5d6413171a Moved template declaration to internal namespace 2003-11-10 14:10:57 +00:00
Thorsten Behrens
fd1976f802 Initial revision 2003-11-10 12:33:07 +00:00
Thorsten Behrens
fd56c146e7 Added bezier tools file 2003-11-10 12:32:29 +00:00
Armin Weiss
ff3c6dbe35 Some error corrections, some additions to polygon stuff, making PolyPolygonCutter work 2003-11-10 10:45:52 +00:00
Armin Weiss
fef23aeb65 Added tooling for PolyPolygon cutting and some more tooling at B2DPolygon and B2DPolyPolygon 2003-11-06 15:30:30 +00:00
Armin Weiss
8db4a5314c Added tooling for cutting PolyPolygons 2003-11-06 15:29:33 +00:00
Armin Weiss
f5c38fec79 Added tooling for PolyPolygon cutting 2003-11-06 15:28:48 +00:00
Armin Weiss
c3663a687c Added PolyPolygonTools, Added PolygonTool functionality, changed bool to sal_Bool 2003-11-05 11:25:58 +00:00
Armin Weiss
5719716995 Added new area for PolyPolygon tools 2003-11-05 11:24:43 +00:00
Armin Weiss
a64ad65ca6 Added entries for tuple and range 2003-11-03 07:57:59 +00:00
Armin Weiss
78bf41629c removed /sdr from deliver paths 2003-10-31 09:30:04 +00:00
Armin Weiss
05ea37545b Added deliver statements for most used headers 2003-10-31 09:27:02 +00:00
Armin Weiss
94c9d84524 includes were one inc too deep, correcting 2003-10-31 09:14:00 +00:00
Armin Weiss
934a8bd615 includes were one inc too deep, correcting 2003-10-31 09:06:25 +00:00
Armin Weiss
5c35c4ae40 basegfx reorganization 2003-10-28 10:26:57 +00:00
Armin Weiss
999a109d17 basegfx reorganization 2003-10-28 10:15:10 +00:00
Thorsten Behrens
b93d278938 #110496# Make this compile under Windows again, outlined various inlines (mostly to prevent exposure of source/inc/ftools.hxx) 2003-10-17 11:32:55 +00:00
Thorsten Behrens
ab5d7ed315 Slight changes in grouping; having three files now 2003-09-26 06:56:35 +00:00
Thorsten Behrens
0c2881433b initial revision 2003-09-26 06:55:46 +00:00
Thorsten Behrens
08761a143f Reverted from 'optimized' doMulMatrix to plain version (since the former botched the algo for nearly every non-trivial case 2003-09-26 06:54:57 +00:00
Thorsten Behrens
0be8b4179d Initial revision 2003-09-25 08:48:03 +00:00
Thorsten Behrens
32c0e6e8f8 Some adaptions to coding guidelines. Method names are now lowercase, as well as namespaces. Enums are class members, if applicable, and all uppercase. Instead of sal_Bool, we're using builtin-bool, for non-API stuff 2003-08-20 15:56:48 +00:00
Thorsten Behrens
1c5bcfdc70 Added missing ftools include 2003-08-20 12:54:18 +00:00
Armin Weiss
e087bdac33 Added B2DPolyPolygon basic implementation 2003-04-29 15:58:25 +00:00
Armin Weiss
b0e1745d0b ADded unsharp comparisons, addeed usage of these where useful/necessary. 2003-04-28 11:10:38 +00:00
Armin Weiss
59979789b2 Added cubic bezier class
Changed quadratic bezier class (wrong name :-)
2003-04-16 08:41:04 +00:00
Armin Weiss
2d967e36f2 Added basic class for handling quadtratic beziers (preparation for THB) 2003-04-15 16:24:25 +00:00
Armin Weiss
d6941fb507 Extended the Polygon implementation
Splitted the Polygon tooling into PolygonTools and own namespace
Changed names of local include files for templates
2003-04-15 15:02:54 +00:00
Armin Weiss
a69f69f51c Added assigment operators for tuple, vector. Also added Flip() functionality for Polygon. 2003-03-14 13:35:29 +00:00
Armin Weiss
b5af76d9cd Simplified polygon base template (PolygonPointList), changed some include statements to work with big and small letters. 2003-03-14 10:47:03 +00:00
Thorsten Behrens
eba4ee6e6b Evaluation of bezier clipping, not for production use 2003-03-06 17:57:49 +00:00
Armin Weiss
dab1caeefd Added Append/Inserts for polygons, expanded constructors, expanded possibilities for appending/inserting only parts of source poly 2003-02-27 14:42:05 +00:00
Armin Weiss
9989fa5fb4 Changed Range implementations to use local members now. 2003-02-19 15:14:55 +00:00
Armin Weiss
3ccba9c56a Added Range classes (B1DRange, B2DRange, B3DRange) for 1-3 dimensions. 2003-02-19 13:49:20 +00:00
Armin Weiss
e0f8233885 Changed all *Pair names to *Tuple names since B3DPair makes no sense. A second change to BaseHomMatrix.hxx just deletes the empty line if it's not needed. 2003-02-18 14:13:39 +00:00
Armin Weiss
6b043da1ae Added implementations of 3x3 and 4x4 homogen matrices 2002-12-05 16:19:48 +00:00
Armin Weiss
7e48719482 Added some comments and B2dHomPoint 2002-12-03 16:24:06 +00:00
Armin Weiss
90f1b0564a Initial necessary project build files 2002-10-18 14:32:59 +00:00
Armin Weiss
d33a7670fe Initial necessary project files 2002-10-18 14:32:03 +00:00