Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    vlen (C++)

    Scheduled Pinned Locked Moved SDK Help
    6 Posts 0 Posters 450 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 26/02/2010 at 06:55, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   11.5 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Could anyone tell me the C++ equivalent to the COFFEE  (vlen)     ?

      Thanks,

      ~Shawn

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 26/02/2010 at 07:05, xxxxxxxx wrote:

        use the Vector classes friend method Len()

        for example:

          
        Vector v(100,0,0);  
        Real len = Len(v);  
        

        cheers,
        Matthias

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 26/02/2010 at 07:05, xxxxxxxx wrote:

          Found it.  Or...  at least I think I found it.   I think it's "Len".

          Thanks,

          ~SHawn

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 26/02/2010 at 07:06, xxxxxxxx wrote:

            lol...   good timing Matthias..      Thanks,

            ~Shawn

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 26/02/2010 at 07:24, xxxxxxxx wrote:

              Since we're on the topic of COFFEE/C++ conversion.   I am looking for the C++ equivalent to

              var rot = m->GetHPB();  
                
              is there a C++ SDK equivalent to GetHPB for matrices?    I know GetRot() but that's not a member function of Matrix.     
                
              Thankkks,  
                
              ~Shawn  
              
              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 26/02/2010 at 08:34, xxxxxxxx wrote:

                The SDK has the function:

                Vector MatrixToHPB(const Matrix& m);

                which does the same thing, I think.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post