43 TQuad(T tLTX, T tLTY, T tRTX, T tRTY, T tRBX, T tRBY, T tLBX, T tLBY)
57 tpPoints[0].Set(tq.tpPoints[0]);
58 tpPoints[1].Set(tq.tpPoints[1]);
59 tpPoints[2].Set(tq.tpPoints[2]);
60 tpPoints[3].Set(tq.tpPoints[3]);
67 tpPoints[0].Set(pTq->tpPoints[0]);
68 tpPoints[1].Set(pTq->tpPoints[1]);
69 tpPoints[2].Set(pTq->tpPoints[2]);
70 tpPoints[3].Set(pTq->tpPoints[3]);
76 tpPoints[0].Set(tq.tpPoints[0]);
77 tpPoints[1].Set(tq.tpPoints[1]);
78 tpPoints[2].Set(tq.tpPoints[2]);
79 tpPoints[3].Set(tq.tpPoints[3]);
86 tpPoints[0].Set(pTq->tpPoints[0]);
87 tpPoints[1].Set(pTq->tpPoints[1]);
88 tpPoints[2].Set(pTq->tpPoints[2]);
89 tpPoints[3].Set(pTq->tpPoints[3]);
95 tpPoints[0].Set(tq.tpPoints[0]);
96 tpPoints[1].Set(tq.tpPoints[1]);
97 tpPoints[2].Set(tq.tpPoints[2]);
98 tpPoints[3].Set(tq.tpPoints[3]);
105 tpPoints[0].Set(pTq->tpPoints[0]);
106 tpPoints[1].Set(pTq->tpPoints[1]);
107 tpPoints[2].Set(pTq->tpPoints[2]);
108 tpPoints[3].Set(pTq->tpPoints[3]);
114 tpPoints[0].Set(tq.tpPoints[0]);
115 tpPoints[1].Set(tq.tpPoints[1]);
116 tpPoints[2].Set(tq.tpPoints[2]);
117 tpPoints[3].Set(tq.tpPoints[3]);
124 tpPoints[0].Set(pTq->tpPoints[0]);
125 tpPoints[1].Set(pTq->tpPoints[1]);
126 tpPoints[2].Set(pTq->tpPoints[2]);
127 tpPoints[3].Set(pTq->tpPoints[3]);
133 tpPoints[0].Set(tq.tpPoints[0]);
134 tpPoints[1].Set(tq.tpPoints[1]);
135 tpPoints[2].Set(tq.tpPoints[2]);
136 tpPoints[3].Set(tq.tpPoints[3]);
143 tpPoints[0].Set(pTq->tpPoints[0]);
144 tpPoints[1].Set(pTq->tpPoints[1]);
145 tpPoints[2].Set(pTq->tpPoints[2]);
146 tpPoints[3].Set(pTq->tpPoints[3]);
152 tpPoints[0].Set(tq.tpPoints[0]);
153 tpPoints[1].Set(tq.tpPoints[1]);
154 tpPoints[2].Set(tq.tpPoints[2]);
155 tpPoints[3].Set(tq.tpPoints[3]);
162 tpPoints[0].Set(pTq->tpPoints[0]);
163 tpPoints[1].Set(pTq->tpPoints[1]);
164 tpPoints[2].Set(pTq->tpPoints[2]);
165 tpPoints[3].Set(pTq->tpPoints[3]);
171 tpPoints[0].Set(tq.tpPoints[0]);
172 tpPoints[1].Set(tq.tpPoints[1]);
173 tpPoints[2].Set(tq.tpPoints[2]);
174 tpPoints[3].Set(tq.tpPoints[3]);
181 tpPoints[0].Set(pTq->tpPoints[0]);
182 tpPoints[1].Set(pTq->tpPoints[1]);
183 tpPoints[2].Set(pTq->tpPoints[2]);
184 tpPoints[3].Set(pTq->tpPoints[3]);
190 tpPoints[0].Set(tq.tpPoints[0]);
191 tpPoints[1].Set(tq.tpPoints[1]);
192 tpPoints[2].Set(tq.tpPoints[2]);
193 tpPoints[3].Set(tq.tpPoints[3]);
200 tpPoints[0].Set(pTq->tpPoints[0]);
201 tpPoints[1].Set(pTq->tpPoints[1]);
202 tpPoints[2].Set(pTq->tpPoints[2]);
203 tpPoints[3].Set(pTq->tpPoints[3]);
209 tpPoints[0].Set(tq.tpPoints[0]);
210 tpPoints[1].Set(tq.tpPoints[1]);
211 tpPoints[2].Set(tq.tpPoints[2]);
212 tpPoints[3].Set(tq.tpPoints[3]);
219 tpPoints[0].Set(pTq->tpPoints[0]);
220 tpPoints[1].Set(pTq->tpPoints[1]);
221 tpPoints[2].Set(pTq->tpPoints[2]);
222 tpPoints[3].Set(pTq->tpPoints[3]);
228 tpPoints[0].Set(tq.tpPoints[0]);
229 tpPoints[1].Set(tq.tpPoints[1]);
230 tpPoints[2].Set(tq.tpPoints[2]);
231 tpPoints[3].Set(tq.tpPoints[3]);
238 tpPoints[0].Set(pTq->tpPoints[0]);
239 tpPoints[1].Set(pTq->tpPoints[1]);
240 tpPoints[2].Set(pTq->tpPoints[2]);
241 tpPoints[3].Set(pTq->tpPoints[3]);
247 tpPoints[0].Set(tpLT);
248 tpPoints[1].Set(tpRT);
249 tpPoints[2].Set(tpRB);
250 tpPoints[3].Set(tpLB);
255 if(pTpLT && pTpRT && pTpRB && pTpLB)
257 tpPoints[0].Set(pTpLT);
258 tpPoints[1].Set(pTpRT);
259 tpPoints[2].Set(pTpRB);
260 tpPoints[3].Set(pTpLB);
266 tpPoints[0].Set(tpLT);
267 tpPoints[1].Set(tpRT);
268 tpPoints[2].Set(tpRB);
269 tpPoints[3].Set(tpLB);
274 if(pTpLT && pTpRT && pTpRB && pTpLB)
276 tpPoints[0].Set(pTpLT);
277 tpPoints[1].Set(pTpRT);
278 tpPoints[2].Set(pTpRB);
279 tpPoints[3].Set(pTpLB);
285 tpPoints[0].Set(tpLT);
286 tpPoints[1].Set(tpRT);
287 tpPoints[2].Set(tpRB);
288 tpPoints[3].Set(tpLB);
293 if(pTpLT && pTpRT && pTpRB && pTpLB)
295 tpPoints[0].Set(pTpLT);
296 tpPoints[1].Set(pTpRT);
297 tpPoints[2].Set(pTpRB);
298 tpPoints[3].Set(pTpLB);
304 tpPoints[0].Set(tpLT);
305 tpPoints[1].Set(tpRT);
306 tpPoints[2].Set(tpRB);
307 tpPoints[3].Set(tpLB);
312 if(pTpLT && pTpRT && pTpRB && pTpLB)
314 tpPoints[0].Set(pTpLT);
315 tpPoints[1].Set(pTpRT);
316 tpPoints[2].Set(pTpRB);
317 tpPoints[3].Set(pTpLB);
323 tpPoints[0].Set(tpLT);
324 tpPoints[1].Set(tpRT);
325 tpPoints[2].Set(tpRB);
326 tpPoints[3].Set(tpLB);
331 if(pTpLT && pTpRT && pTpRB && pTpLB)
333 tpPoints[0].Set(pTpLT);
334 tpPoints[1].Set(pTpRT);
335 tpPoints[2].Set(pTpRB);
336 tpPoints[3].Set(pTpLB);
342 tpPoints[0].Set(tpLT);
343 tpPoints[1].Set(tpRT);
344 tpPoints[2].Set(tpRB);
345 tpPoints[3].Set(tpLB);
350 if(pTpLT && pTpRT && pTpRB && pTpLB)
352 tpPoints[0].Set(pTpLT);
353 tpPoints[1].Set(pTpRT);
354 tpPoints[2].Set(pTpRB);
355 tpPoints[3].Set(pTpLB);
361 tpPoints[0].Set(tpLT);
362 tpPoints[1].Set(tpRT);
363 tpPoints[2].Set(tpRB);
364 tpPoints[3].Set(tpLB);
369 if(pTpLT && pTpRT && pTpRB && pTpLB)
371 tpPoints[0].Set(pTpLT);
372 tpPoints[1].Set(pTpRT);
373 tpPoints[2].Set(pTpRB);
374 tpPoints[3].Set(pTpLB);
380 tpPoints[0].Set(tpLT);
381 tpPoints[1].Set(tpRT);
382 tpPoints[2].Set(tpRB);
383 tpPoints[3].Set(tpLB);
388 if(pTpLT && pTpRT && pTpRB && pTpLB)
390 tpPoints[0].Set(pTpLT);
391 tpPoints[1].Set(pTpRT);
392 tpPoints[2].Set(pTpRB);
393 tpPoints[3].Set(pTpLB);
399 tpPoints[0].Set(tpLT);
400 tpPoints[1].Set(tpRT);
401 tpPoints[2].Set(tpRB);
402 tpPoints[3].Set(tpLB);
407 if(pTpLT && pTpRT && pTpRB && pTpLB)
409 tpPoints[0].Set(pTpLT);
410 tpPoints[1].Set(pTpRT);
411 tpPoints[2].Set(pTpRB);
412 tpPoints[3].Set(pTpLB);
418 tpPoints[0].Set(tpLT);
419 tpPoints[1].Set(tpRT);
420 tpPoints[2].Set(tpRB);
421 tpPoints[3].Set(tpLB);
426 if(pTpLT && pTpRT && pTpRB && pTpLB)
428 tpPoints[0].Set(pTpLT);
429 tpPoints[1].Set(pTpRT);
430 tpPoints[2].Set(pTpRB);
431 tpPoints[3].Set(pTpLB);
436 void Set(T tLTX, T tLTY, T tRTX, T tRTY, T tRBX, T tRBY, T tLBX, T tLBY)
438 tpPoints[0].x = tLTX;
439 tpPoints[0].y = tLTY;
440 tpPoints[1].x = tRTX;
441 tpPoints[1].y = tRTY;
442 tpPoints[2].x = tRBX;
443 tpPoints[2].y = tRBY;
444 tpPoints[3].x = tLBX;
445 tpPoints[3].y = tLBY;
450 tpPoints[0].Set(tq.tpPoints[0]);
451 tpPoints[1].Set(tq.tpPoints[1]);
452 tpPoints[2].Set(tq.tpPoints[2]);
453 tpPoints[3].Set(tq.tpPoints[3]);
460 tpPoints[0].Set(pTq->tpPoints[0]);
461 tpPoints[1].Set(pTq->tpPoints[1]);
462 tpPoints[2].Set(pTq->tpPoints[2]);
463 tpPoints[3].Set(pTq->tpPoints[3]);
469 tpPoints[0].Set(tq.tpPoints[0]);
470 tpPoints[1].Set(tq.tpPoints[1]);
471 tpPoints[2].Set(tq.tpPoints[2]);
472 tpPoints[3].Set(tq.tpPoints[3]);
479 tpPoints[0].Set(pTq->tpPoints[0]);
480 tpPoints[1].Set(pTq->tpPoints[1]);
481 tpPoints[2].Set(pTq->tpPoints[2]);
482 tpPoints[3].Set(pTq->tpPoints[3]);
488 tpPoints[0].Set(tq.tpPoints[0]);
489 tpPoints[1].Set(tq.tpPoints[1]);
490 tpPoints[2].Set(tq.tpPoints[2]);
491 tpPoints[3].Set(tq.tpPoints[3]);
498 tpPoints[0].Set(pTq->tpPoints[0]);
499 tpPoints[1].Set(pTq->tpPoints[1]);
500 tpPoints[2].Set(pTq->tpPoints[2]);
501 tpPoints[3].Set(pTq->tpPoints[3]);
507 tpPoints[0].Set(tq.tpPoints[0]);
508 tpPoints[1].Set(tq.tpPoints[1]);
509 tpPoints[2].Set(tq.tpPoints[2]);
510 tpPoints[3].Set(tq.tpPoints[3]);
517 tpPoints[0].Set(pTq->tpPoints[0]);
518 tpPoints[1].Set(pTq->tpPoints[1]);
519 tpPoints[2].Set(pTq->tpPoints[2]);
520 tpPoints[3].Set(pTq->tpPoints[3]);
526 tpPoints[0].Set(tq.tpPoints[0]);
527 tpPoints[1].Set(tq.tpPoints[1]);
528 tpPoints[2].Set(tq.tpPoints[2]);
529 tpPoints[3].Set(tq.tpPoints[3]);
536 tpPoints[0].Set(pTq->tpPoints[0]);
537 tpPoints[1].Set(pTq->tpPoints[1]);
538 tpPoints[2].Set(pTq->tpPoints[2]);
539 tpPoints[3].Set(pTq->tpPoints[3]);
545 tpPoints[0].Set(tq.tpPoints[0]);
546 tpPoints[1].Set(tq.tpPoints[1]);
547 tpPoints[2].Set(tq.tpPoints[2]);
548 tpPoints[3].Set(tq.tpPoints[3]);
555 tpPoints[0].Set(pTq->tpPoints[0]);
556 tpPoints[1].Set(pTq->tpPoints[1]);
557 tpPoints[2].Set(pTq->tpPoints[2]);
558 tpPoints[3].Set(pTq->tpPoints[3]);
564 tpPoints[0].Set(tq.tpPoints[0]);
565 tpPoints[1].Set(tq.tpPoints[1]);
566 tpPoints[2].Set(tq.tpPoints[2]);
567 tpPoints[3].Set(tq.tpPoints[3]);
574 tpPoints[0].Set(pTq->tpPoints[0]);
575 tpPoints[1].Set(pTq->tpPoints[1]);
576 tpPoints[2].Set(pTq->tpPoints[2]);
577 tpPoints[3].Set(pTq->tpPoints[3]);
583 tpPoints[0].Set(tq.tpPoints[0]);
584 tpPoints[1].Set(tq.tpPoints[1]);
585 tpPoints[2].Set(tq.tpPoints[2]);
586 tpPoints[3].Set(tq.tpPoints[3]);
593 tpPoints[0].Set(pTq->tpPoints[0]);
594 tpPoints[1].Set(pTq->tpPoints[1]);
595 tpPoints[2].Set(pTq->tpPoints[2]);
596 tpPoints[3].Set(pTq->tpPoints[3]);
602 tpPoints[0].Set(tq.tpPoints[0]);
603 tpPoints[1].Set(tq.tpPoints[1]);
604 tpPoints[2].Set(tq.tpPoints[2]);
605 tpPoints[3].Set(tq.tpPoints[3]);
612 tpPoints[0].Set(pTq->tpPoints[0]);
613 tpPoints[1].Set(pTq->tpPoints[1]);
614 tpPoints[2].Set(pTq->tpPoints[2]);
615 tpPoints[3].Set(pTq->tpPoints[3]);
621 tpPoints[0].Set(tq.tpPoints[0]);
622 tpPoints[1].Set(tq.tpPoints[1]);
623 tpPoints[2].Set(tq.tpPoints[2]);
624 tpPoints[3].Set(tq.tpPoints[3]);
631 tpPoints[0].Set(pTq->tpPoints[0]);
632 tpPoints[1].Set(pTq->tpPoints[1]);
633 tpPoints[2].Set(pTq->tpPoints[2]);
634 tpPoints[3].Set(pTq->tpPoints[3]);
641 tpPoints[0].Set(tpLT);
642 tpPoints[1].Set(tpRT);
643 tpPoints[2].Set(tpRB);
644 tpPoints[3].Set(tpLB);
649 if(pTpLT && pTpRT && pTpRB && pTpLB)
651 tpPoints[0].Set(pTpLT);
652 tpPoints[1].Set(pTpRT);
653 tpPoints[2].Set(pTpRB);
654 tpPoints[3].Set(pTpLB);
660 tpPoints[0].Set(tpLT);
661 tpPoints[1].Set(tpRT);
662 tpPoints[2].Set(tpRB);
663 tpPoints[3].Set(tpLB);
668 if(pTpLT && pTpRT && pTpRB && pTpLB)
670 tpPoints[0].Set(pTpLT);
671 tpPoints[1].Set(pTpRT);
672 tpPoints[2].Set(pTpRB);
673 tpPoints[3].Set(pTpLB);
680 tpPoints[0].Set(tpLT);
681 tpPoints[1].Set(tpRT);
682 tpPoints[2].Set(tpRB);
683 tpPoints[3].Set(tpLB);
688 if(pTpLT && pTpRT && pTpRB && pTpLB)
690 tpPoints[0].Set(pTpLT);
691 tpPoints[1].Set(pTpRT);
692 tpPoints[2].Set(pTpRB);
693 tpPoints[3].Set(pTpLB);
699 tpPoints[0].Set(tpLT);
700 tpPoints[1].Set(tpRT);
701 tpPoints[2].Set(tpRB);
702 tpPoints[3].Set(tpLB);
707 if(pTpLT && pTpRT && pTpRB && pTpLB)
709 tpPoints[0].Set(pTpLT);
710 tpPoints[1].Set(pTpRT);
711 tpPoints[2].Set(pTpRB);
712 tpPoints[3].Set(pTpLB);
719 tpPoints[0].Set(tpLT);
720 tpPoints[1].Set(tpRT);
721 tpPoints[2].Set(tpRB);
722 tpPoints[3].Set(tpLB);
727 if(pTpLT && pTpRT && pTpRB && pTpLB)
729 tpPoints[0].Set(pTpLT);
730 tpPoints[1].Set(pTpRT);
731 tpPoints[2].Set(pTpRB);
732 tpPoints[3].Set(pTpLB);
738 tpPoints[0].Set(tpLT);
739 tpPoints[1].Set(tpRT);
740 tpPoints[2].Set(tpRB);
741 tpPoints[3].Set(tpLB);
746 if(pTpLT && pTpRT && pTpRB && pTpLB)
748 tpPoints[0].Set(pTpLT);
749 tpPoints[1].Set(pTpRT);
750 tpPoints[2].Set(pTpRB);
751 tpPoints[3].Set(pTpLB);
757 tpPoints[0].Set(tpLT);
758 tpPoints[1].Set(tpRT);
759 tpPoints[2].Set(tpRB);
760 tpPoints[3].Set(tpLB);
765 if(pTpLT && pTpRT && pTpRB && pTpLB)
767 tpPoints[0].Set(pTpLT);
768 tpPoints[1].Set(pTpRT);
769 tpPoints[2].Set(pTpRB);
770 tpPoints[3].Set(pTpLB);
776 tpPoints[0].Set(tpLT);
777 tpPoints[1].Set(tpRT);
778 tpPoints[2].Set(tpRB);
779 tpPoints[3].Set(tpLB);
784 if(pTpLT && pTpRT && pTpRB && pTpLB)
786 tpPoints[0].Set(pTpLT);
787 tpPoints[1].Set(pTpRT);
788 tpPoints[2].Set(pTpRB);
789 tpPoints[3].Set(pTpLB);
795 tpPoints[0].Set(tpLT);
796 tpPoints[1].Set(tpRT);
797 tpPoints[2].Set(tpRB);
798 tpPoints[3].Set(tpLB);
803 if(pTpLT && pTpRT && pTpRB && pTpLB)
805 tpPoints[0].Set(pTpLT);
806 tpPoints[1].Set(pTpRT);
807 tpPoints[2].Set(pTpRB);
808 tpPoints[3].Set(pTpLB);
814 tpPoints[0].Set(tpLT);
815 tpPoints[1].Set(tpRT);
816 tpPoints[2].Set(tpRB);
817 tpPoints[3].Set(tpLB);
822 if(pTpLT && pTpRT && pTpRB && pTpLB)
824 tpPoints[0].Set(pTpLT);
825 tpPoints[1].Set(pTpRT);
826 tpPoints[2].Set(pTpRB);
827 tpPoints[3].Set(pTpLB);
832 const TQuad<T>& operator=(int32_t value)
842 const TQuad<T>& operator=(int64_t value)
852 const TQuad<T>& operator=(
float value)
862 const TQuad<T>& operator=(
double value)
902 return tpPoints[0] == tq.tpPoints[0] && tpPoints[1] == tq.tpPoints[1] && tpPoints[2] == tq.tpPoints[2] && tpPoints[3] == tq.tpPoints[3];
907 return tpPoints[0] == tq.tpPoints[0] && tpPoints[1] == tq.tpPoints[1] && tpPoints[2] == tq.tpPoints[2] && tpPoints[3] == tq.tpPoints[3];
912 return tpPoints[0] == tq.tpPoints[0] && tpPoints[1] == tq.tpPoints[1] && tpPoints[2] == tq.tpPoints[2] && tpPoints[3] == tq.tpPoints[3];
917 return tpPoints[0] == tq.tpPoints[0] && tpPoints[1] == tq.tpPoints[1] && tpPoints[2] == tq.tpPoints[2] && tpPoints[3] == tq.tpPoints[3];
922 return tpPoints[0] != tq.tpPoints[0] || tpPoints[1] != tq.tpPoints[1] || tpPoints[2] != tq.tpPoints[2] || tpPoints[3] != tq.tpPoints[3];
927 return tpPoints[0] != tq.tpPoints[0] || tpPoints[1] != tq.tpPoints[1] || tpPoints[2] != tq.tpPoints[2] || tpPoints[3] != tq.tpPoints[3];
932 return tpPoints[0] != tq.tpPoints[0] || tpPoints[1] != tq.tpPoints[1] || tpPoints[2] != tq.tpPoints[2] || tpPoints[3] != tq.tpPoints[3];
937 return tpPoints[0] != tq.tpPoints[0] || tpPoints[1] != tq.tpPoints[1] || tpPoints[2] != tq.tpPoints[2] || tpPoints[3] != tq.tpPoints[3];
940 const TQuad<T>& operator+=(int32_t value)
942 tpPoints[0] += value;
943 tpPoints[1] += value;
944 tpPoints[2] += value;
945 tpPoints[3] += value;
950 const TQuad<T>& operator+=(int64_t value)
952 tpPoints[0] += value;
953 tpPoints[1] += value;
954 tpPoints[2] += value;
955 tpPoints[3] += value;
960 const TQuad<T>& operator+=(
float value)
962 tpPoints[0] += value;
963 tpPoints[1] += value;
964 tpPoints[2] += value;
965 tpPoints[3] += value;
970 const TQuad<T>& operator+=(
double value)
972 tpPoints[0] += value;
973 tpPoints[1] += value;
974 tpPoints[2] += value;
975 tpPoints[3] += value;
982 tpPoints[0] += tq.tpPoints[0];
983 tpPoints[1] += tq.tpPoints[1];
984 tpPoints[2] += tq.tpPoints[2];
985 tpPoints[3] += tq.tpPoints[3];
992 tpPoints[0] += tq.tpPoints[0];
993 tpPoints[1] += tq.tpPoints[1];
994 tpPoints[2] += tq.tpPoints[2];
995 tpPoints[3] += tq.tpPoints[3];
1002 tpPoints[0] += tq.tpPoints[0];
1003 tpPoints[1] += tq.tpPoints[1];
1004 tpPoints[2] += tq.tpPoints[2];
1005 tpPoints[3] += tq.tpPoints[3];
1012 tpPoints[0] += tq.tpPoints[0];
1013 tpPoints[1] += tq.tpPoints[1];
1014 tpPoints[2] += tq.tpPoints[2];
1015 tpPoints[3] += tq.tpPoints[3];
1020 const TQuad<T>& operator-=(int32_t value)
1022 tpPoints[0] -= value;
1023 tpPoints[1] -= value;
1024 tpPoints[2] -= value;
1025 tpPoints[3] -= value;
1030 const TQuad<T>& operator-=(int64_t value)
1032 tpPoints[0] -= value;
1033 tpPoints[1] -= value;
1034 tpPoints[2] -= value;
1035 tpPoints[3] -= value;
1040 const TQuad<T>& operator-=(
float value)
1042 tpPoints[0] -= value;
1043 tpPoints[1] -= value;
1044 tpPoints[2] -= value;
1045 tpPoints[3] -= value;
1050 const TQuad<T>& operator-=(
double value)
1052 tpPoints[0] -= value;
1053 tpPoints[1] -= value;
1054 tpPoints[2] -= value;
1055 tpPoints[3] -= value;
1062 tpPoints[0] -= tq.tpPoints[0];
1063 tpPoints[1] -= tq.tpPoints[1];
1064 tpPoints[2] -= tq.tpPoints[2];
1065 tpPoints[3] -= tq.tpPoints[3];
1072 tpPoints[0] -= tq.tpPoints[0];
1073 tpPoints[1] -= tq.tpPoints[1];
1074 tpPoints[2] -= tq.tpPoints[2];
1075 tpPoints[3] -= tq.tpPoints[3];
1082 tpPoints[0] -= tq.tpPoints[0];
1083 tpPoints[1] -= tq.tpPoints[1];
1084 tpPoints[2] -= tq.tpPoints[2];
1085 tpPoints[3] -= tq.tpPoints[3];
1092 tpPoints[0] -= tq.tpPoints[0];
1093 tpPoints[1] -= tq.tpPoints[1];
1094 tpPoints[2] -= tq.tpPoints[2];
1095 tpPoints[3] -= tq.tpPoints[3];
1100 const TQuad<T>& operator*=(int32_t value)
1102 tpPoints[0] *= value;
1103 tpPoints[1] *= value;
1104 tpPoints[2] *= value;
1105 tpPoints[3] *= value;
1110 const TQuad<T>& operator*=(int64_t value)
1112 tpPoints[0] *= value;
1113 tpPoints[1] *= value;
1114 tpPoints[2] *= value;
1115 tpPoints[3] *= value;
1120 const TQuad<T>& operator*=(
float value)
1122 tpPoints[0] *= value;
1123 tpPoints[1] *= value;
1124 tpPoints[2] *= value;
1125 tpPoints[3] *= value;
1130 const TQuad<T>& operator*=(
double value)
1132 tpPoints[0] *= value;
1133 tpPoints[1] *= value;
1134 tpPoints[2] *= value;
1135 tpPoints[3] *= value;
1142 tpPoints[0] *= tq.tpPoints[0];
1143 tpPoints[1] *= tq.tpPoints[1];
1144 tpPoints[2] *= tq.tpPoints[2];
1145 tpPoints[3] *= tq.tpPoints[3];
1152 tpPoints[0] *= tq.tpPoints[0];
1153 tpPoints[1] *= tq.tpPoints[1];
1154 tpPoints[2] *= tq.tpPoints[2];
1155 tpPoints[3] *= tq.tpPoints[3];
1162 tpPoints[0] *= tq.tpPoints[0];
1163 tpPoints[1] *= tq.tpPoints[1];
1164 tpPoints[2] *= tq.tpPoints[2];
1165 tpPoints[3] *= tq.tpPoints[3];
1172 tpPoints[0] *= tq.tpPoints[0];
1173 tpPoints[1] *= tq.tpPoints[1];
1174 tpPoints[2] *= tq.tpPoints[2];
1175 tpPoints[3] *= tq.tpPoints[3];
1180 const TQuad<T>& operator/=(int32_t value)
1182 tpPoints[0] /= value;
1183 tpPoints[1] /= value;
1184 tpPoints[2] /= value;
1185 tpPoints[3] /= value;
1190 const TQuad<T>& operator/=(int64_t value)
1192 tpPoints[0] /= value;
1193 tpPoints[1] /= value;
1194 tpPoints[2] /= value;
1195 tpPoints[3] /= value;
1200 const TQuad<T>& operator/=(
float value)
1202 tpPoints[0] /= value;
1203 tpPoints[1] /= value;
1204 tpPoints[2] /= value;
1205 tpPoints[3] /= value;
1210 const TQuad<T>& operator/=(
double value)
1212 tpPoints[0] /= value;
1213 tpPoints[1] /= value;
1214 tpPoints[2] /= value;
1215 tpPoints[3] /= value;
1222 tpPoints[0] /= tq.tpPoints[0];
1223 tpPoints[1] /= tq.tpPoints[1];
1224 tpPoints[2] /= tq.tpPoints[2];
1225 tpPoints[3] /= tq.tpPoints[3];
1232 tpPoints[0] /= tq.tpPoints[0];
1233 tpPoints[1] /= tq.tpPoints[1];
1234 tpPoints[2] /= tq.tpPoints[2];
1235 tpPoints[3] /= tq.tpPoints[3];
1242 tpPoints[0] /= tq.tpPoints[0];
1243 tpPoints[1] /= tq.tpPoints[1];
1244 tpPoints[2] /= tq.tpPoints[2];
1245 tpPoints[3] /= tq.tpPoints[3];
1252 tpPoints[0] /= tq.tpPoints[0];
1253 tpPoints[1] /= tq.tpPoints[1];
1254 tpPoints[2] /= tq.tpPoints[2];
1255 tpPoints[3] /= tq.tpPoints[3];
1503 return TQuad<T>(
TPoint<T>((T)(value - tr.tpPoints[0].x), (T)(value - tr.tpPoints[0].y)),
TPoint<T>((T)(value - tr.tpPoints[1].x), (T)(value - tr.tpPoints[1].y)),
TPoint<T>((T)(value - tr.tpPoints[2].x), (T)(value - tr.tpPoints[2].y)),
TPoint<T>((T)(value - tr.tpPoints[3].x), (T)(value - tr.tpPoints[3].y)));
1507 return TQuad<T>(
TPoint<T>((T)(value - tr.tpPoints[0].x), (T)(value - tr.tpPoints[0].y)),
TPoint<T>((T)(value - tr.tpPoints[1].x), (T)(value - tr.tpPoints[1].y)),
TPoint<T>((T)(value - tr.tpPoints[2].x), (T)(value - tr.tpPoints[2].y)),
TPoint<T>((T)(value - tr.tpPoints[3].x), (T)(value - tr.tpPoints[3].y)));
1511 return TQuad<T>(
TPoint<T>((T)(value - tr.tpPoints[0].x), (T)(value - tr.tpPoints[0].y)),
TPoint<T>((T)(value - tr.tpPoints[1].x), (T)(value - tr.tpPoints[1].y)),
TPoint<T>((T)(value - tr.tpPoints[2].x), (T)(value - tr.tpPoints[2].y)),
TPoint<T>((T)(value - tr.tpPoints[3].x), (T)(value - tr.tpPoints[3].y)));
1515 return TQuad<T>(
TPoint<T>((T)(value - tr.tpPoints[0].x), (T)(value - tr.tpPoints[0].y)),
TPoint<T>((T)(value - tr.tpPoints[1].x), (T)(value - tr.tpPoints[1].y)),
TPoint<T>((T)(value - tr.tpPoints[2].x), (T)(value - tr.tpPoints[2].y)),
TPoint<T>((T)(value - tr.tpPoints[3].x), (T)(value - tr.tpPoints[3].y)));
1537 return TQuad<T>(
TPoint<T>((T)(value / tr.tpPoints[0].x), (T)(value / tr.tpPoints[0].y)),
TPoint<T>((T)(value / tr.tpPoints[1].x), (T)(value / tr.tpPoints[1].y)),
TPoint<T>((T)(value / tr.tpPoints[2].x), (T)(value / tr.tpPoints[2].y)),
TPoint<T>((T)(value / tr.tpPoints[3].x), (T)(value / tr.tpPoints[3].y)));
1541 return TQuad<T>(
TPoint<T>((T)(value / tr.tpPoints[0].x), (T)(value / tr.tpPoints[0].y)),
TPoint<T>((T)(value / tr.tpPoints[1].x), (T)(value / tr.tpPoints[1].y)),
TPoint<T>((T)(value / tr.tpPoints[2].x), (T)(value / tr.tpPoints[2].y)),
TPoint<T>((T)(value / tr.tpPoints[3].x), (T)(value / tr.tpPoints[3].y)));
1545 return TQuad<T>(
TPoint<T>((T)(value / tr.tpPoints[0].x), (T)(value / tr.tpPoints[0].y)),
TPoint<T>((T)(value / tr.tpPoints[1].x), (T)(value / tr.tpPoints[1].y)),
TPoint<T>((T)(value / tr.tpPoints[2].x), (T)(value / tr.tpPoints[2].y)),
TPoint<T>((T)(value / tr.tpPoints[3].x), (T)(value / tr.tpPoints[3].y)));
1549 return TQuad<T>(
TPoint<T>((T)(value / tr.tpPoints[0].x), (T)(value / tr.tpPoints[0].y)),
TPoint<T>((T)(value / tr.tpPoints[1].x), (T)(value / tr.tpPoints[1].y)),
TPoint<T>((T)(value / tr.tpPoints[2].x), (T)(value / tr.tpPoints[2].y)),
TPoint<T>((T)(value / tr.tpPoints[3].x), (T)(value / tr.tpPoints[3].y)));
Simplified class representing a point.
Definition TPoint.h:37
Simplified class representing a quadrangle.
Definition TQuad.h:34