Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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 Point-Coordinates from CPolygon

    SDK Help
    0
    2
    183
    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

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

      On 19/06/2008 at 02:32, xxxxxxxx wrote:

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

      ---------
      Hi,
      I got a CPolygon which has .a, .b, .c and .d. All of these are LONG-Values. I didn't know exactly but I think, that value is something like the value of the x-, y- and z-Coordinate in Hex-system or something like that.
      Now I'm trying to get the x-Value of CPolygon _.a. How can I do that?

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

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

        On 19/06/2008 at 02:56, xxxxxxxx wrote:

        a, b,c, d are indices into the point vector array.

        > \> const Vector \*padr = op->GetPointR(); \> Real xpos = padr[a].x; //the X position, a == CPolygon.a index \>

        cheers,
        Matthias

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