/[libvob]/libvob/include/vob/trans/LinearPrimitives.hxx
ViewVC logotype

Diff of /libvob/include/vob/trans/LinearPrimitives.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by tjl, Wed Apr 16 10:19:50 2003 UTC revision 1.4 by tjl, Wed Apr 16 10:37:57 2003 UTC
# Line 222  namespace Primitives { Line 222  namespace Primitives {
222       */       */
223      class NadirUnitSq :      class NadirUnitSq :
224          public RotateCenteredXY,          public RotateCenteredXY,
225            public BoxPrimitiveTransform,
226          public DependentPrimitiveTransform {          public DependentPrimitiveTransform {
227      public:      public:
228          enum { NDepends = 2 }; // parent and nadir          enum { NDepends = 2 }; // parent and nadir
# Line 239  namespace Primitives { Line 240  namespace Primitives {
240              a = angle * 180 / M_PI;              a = angle * 180 / M_PI;
241    
242          }          }
243            Pt getSqSize() const {
244                return Pt(2*ox, 2*oy);
245            }
246      };      };
247      VOB_PRIMITIVETRANS_DEFINED(NadirUnitSq, "nadirUnitSq");      VOB_PRIMITIVETRANS_DEFINED(NadirUnitSq, "nadirUnitSq");
248    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26