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

    Getting the neighboring points

    SDK Help
    0
    3
    210
    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 25/06/2014 at 05:41, xxxxxxxx wrote:

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

      ---------
      I'm using the Neighbor class but, using it, I can only get what polygons are connected to a point.
      However, I just want to know what points are directly connected, through an edge, to a specific point.
      For example, lets say I have point I. I want to know what are all the points that are directly connected to point I through an edge. Just one level deep!!
      The SDK only talks about:

      To get point->poly connections use GetPointPolys()
      To get edge->poly connections use GetEdgePolys()
      To get poly->edge connections use GetPolyInfo()

      What about simpler things?

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

        On 25/06/2014 at 07:51, xxxxxxxx wrote:

        Ok, I guess I can find then out from the attached polygons.
        Easier with triangles, though. But I guess I already know how to do.

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

          On 25/06/2014 at 09:09, xxxxxxxx wrote:

          Damn! Math is fun. Everything can be achieved with a little math and logic 🙂

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