Lines Matching refs:B2DPoint
331 const B2DPoint a00(0.0, 0.0); in setUp()
332 const B2DPoint a10(1.0, 0.0); in setUp()
333 const B2DPoint a11(1.0, 1.0); in setUp()
334 const B2DPoint a01(0.0, 1.0); in setUp()
335 const B2DPoint middle( 0.5, 0.5 ); in setUp()
336 const B2DPoint quarterDown( 0.25, 0.25 ); in setUp()
337 const B2DPoint quarterUp( 0.75, 0.75 ); in setUp()
357 aQuarterCircle = B2DCubicBezier(a10 + B2DPoint(1.0,0.0), in setUp()
358 B2DPoint(B2DPoint( 1.0, h ) + B2DPoint(1.0,0.0)), in setUp()
359 B2DPoint(B2DPoint( h, 1.0) + B2DPoint(1.0,0.0)), in setUp()
360 a01 + B2DPoint(1.0,0.0)); in setUp()
362 aCusp = B2DCubicBezier(a00 + B2DPoint(2.0,0.0), in setUp()
363 B2DPoint(a11 + B2DPoint(2.0,0.0)), in setUp()
364 B2DPoint(a01 + B2DPoint(2.0,0.0)), in setUp()
365 a10 + B2DPoint(2.0,0.0)); in setUp()
367 aLoop = B2DCubicBezier(a00 + B2DPoint(3.0,0.0), in setUp()
368 B2DPoint(a01 + B2DPoint(3.0,0.0)), in setUp()
369 B2DPoint(a10 + B2DPoint(3.0,0.0)), in setUp()
370 a00 + B2DPoint(3.0,0.0)); in setUp()
372 aStraightLineDistinctEndPoints = B2DCubicBezier(a00 + B2DPoint(4.0,0.0), in setUp()
373 B2DPoint(middle + B2DPoint(4.0,0.0)), in setUp()
374 B2DPoint(middle + B2DPoint(4.0,0.0)), in setUp()
375 a11 + B2DPoint(4.0,0.0)); in setUp()
377 aStraightLineDistinctEndPoints2 = B2DCubicBezier(a00 + B2DPoint(5.0,0.0), in setUp()
378 B2DPoint(quarterDown + B2DPoint(5.0,0.0)), in setUp()
379 B2DPoint(quarterUp + B2DPoint(5.0,0.0)), in setUp()
380 a11 + B2DPoint(5.0,0.0)); in setUp()
382 aStraightLineIdenticalEndPoints = B2DCubicBezier(a00 + B2DPoint(6.0,0.0), in setUp()
383 B2DPoint(a11 + B2DPoint(6.0,0.0)), in setUp()
384 B2DPoint(a11 + B2DPoint(6.0,0.0)), in setUp()
385 a00 + B2DPoint(6.0,0.0)); in setUp()
387 aStraightLineIdenticalEndPoints2 = B2DCubicBezier(a00 + B2DPoint(7.0,0.0), in setUp()
388 B2DPoint(quarterDown + B2DPoint(7.0,0.0)), in setUp()
389 B2DPoint(quarterUp + B2DPoint(7.0,0.0)), in setUp()
390 a00 + B2DPoint(7.0,0.0)); in setUp()
392 aCrossing = B2DCubicBezier(a00 + B2DPoint(8.0,0.0), in setUp()
393 B2DPoint(B2DPoint(2.0,2.0) + B2DPoint(8.0,0.0)), in setUp()
394 B2DPoint(B2DPoint(-1.0,2.0) + B2DPoint(8.0,0.0)), in setUp()
395 a10 + B2DPoint(8.0,0.0)); in setUp()
970 aPoly.appendBezierSegment(B2DPoint(1,1),B2DPoint(2,2),B2DPoint(3,3)); in testBasics()
973 aPoly.getB2DPoint(0) == B2DPoint(3,3)); in testBasics()
975 aPoly.getPrevControlPoint(0) == B2DPoint(2,2)); in testBasics()
977 aPoly.getNextControlPoint(0) == B2DPoint(3,3)); in testBasics()
981 aPoly.setNextControlPoint(0,B2DPoint(4,4)); in testBasics()
983 aPoly.getNextControlPoint(0) == B2DPoint(4,4)); in testBasics()
993 aPoly.getB2DPoint(0) == B2DPoint(3,3)); in testBasics()
995 aPoly.getPrevControlPoint(0) == B2DPoint(3,3)); in testBasics()
997 aPoly.getNextControlPoint(0) == B2DPoint(3,3)); in testBasics()
1002 aPoly.append(B2DPoint(0,0)); in testBasics()
1003 aPoly.appendBezierSegment(B2DPoint(1,1),B2DPoint(2,2),B2DPoint(3,3)); in testBasics()
1006 aPoly.getB2DPoint(0) == B2DPoint(0,0)); in testBasics()
1008 aPoly.getPrevControlPoint(0) == B2DPoint(0,0)); in testBasics()
1010 aPoly.getNextControlPoint(0) == B2DPoint(1,1)); in testBasics()
1012 aPoly.getPrevControlPoint(1) == B2DPoint(2,2)); in testBasics()
1014 aPoly.getNextControlPoint(1) == B2DPoint(3,3)); in testBasics()
1016 aPoly.getB2DPoint(1) == B2DPoint(3,3)); in testBasics()
1049 aRect2.append( B2DPoint(0,0) ); in testIsRectangle()
1050 aRect2.append( B2DPoint(1,0) ); in testIsRectangle()
1051 aRect2.append( B2DPoint(1,.5)); in testIsRectangle()
1052 aRect2.append( B2DPoint(1,1) ); in testIsRectangle()
1053 aRect2.append( B2DPoint(0,1) ); in testIsRectangle()
1057 aNonRect1.append( B2DPoint(0,0) ); in testIsRectangle()
1058 aNonRect1.append( B2DPoint(1,0) ); in testIsRectangle()
1059 aNonRect1.append( B2DPoint(1,1) ); in testIsRectangle()
1060 aNonRect1.append( B2DPoint(0.5,1) ); in testIsRectangle()
1061 aNonRect1.append( B2DPoint(0.5,0) ); in testIsRectangle()
1065 aNonRect2.append( B2DPoint(0,0) ); in testIsRectangle()
1066 aNonRect2.append( B2DPoint(1,1) ); in testIsRectangle()
1067 aNonRect2.append( B2DPoint(1,0) ); in testIsRectangle()
1068 aNonRect2.append( B2DPoint(0,1) ); in testIsRectangle()
1072 aNonRect3.append( B2DPoint(0,0) ); in testIsRectangle()
1073 aNonRect3.append( B2DPoint(1,0) ); in testIsRectangle()
1074 aNonRect3.append( B2DPoint(1,1) ); in testIsRectangle()
1078 aNonRect4.append( B2DPoint(0,0) ); in testIsRectangle()
1079 aNonRect4.append( B2DPoint(1,0) ); in testIsRectangle()
1080 aNonRect4.append( B2DPoint(1,1) ); in testIsRectangle()
1081 aNonRect4.append( B2DPoint(0,1) ); in testIsRectangle()
1084 aNonRect5.append( B2DPoint(0,0) ); in testIsRectangle()
1085 aNonRect5.append( B2DPoint(1,0) ); in testIsRectangle()
1086 aNonRect5.append( B2DPoint(1,1) ); in testIsRectangle()
1087 aNonRect5.append( B2DPoint(0,1) ); in testIsRectangle()
1088 aNonRect5.setControlPoints(1,B2DPoint(1,0),B2DPoint(-11,0)); in testIsRectangle()