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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    GeSortAndSearch

    SDK Help
    0
    2
    225
    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
      Helper
      last edited by

      On 09/03/2013 at 11:15, xxxxxxxx wrote:

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

      ---------
      I have a class that extends GeSortAndSearch and implements the Compare() method.  Before I get to the point where I can test, do you think this could be a crash situtation:

       **faces** ->Sort( **faces** , numFaces, bSize);
      

      For some reason, that makes me wonder if 'faces' calling Sort may be invalid after the Sort() call.

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

        On 09/03/2013 at 19:36, xxxxxxxx wrote:

        Disregard this query.  I just made a separate class derived from GeSortAndSearch to sort the other class.  Works beautifully! 🙂

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