Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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?
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 \>
\> const Vector \*padr = op->GetPointR(); \> Real xpos = padr[a].x; //the X position, a == CPolygon.a index \>
cheers, Matthias