Poly selection's points?

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

On 12/02/2003 at 22:39, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.012 
Platform:      Mac OSX  ; 
Language(s) :   C.O.F.F.E.E  ;

---------
Can anyone help with how do i get the points of an object from it's poly selection? if i knew how to extract the points from a poly object got by object->GetPolygon(index); that would be enough.

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

On 13/02/2003 at 14:11, xxxxxxxx wrote:

I think you have to use GetPoint:
 pol = op->GetPolygon(poly);
 p1=op->GetPoint(pol->a);
 p2=op->GetPoint(pol->b);
 p3=op->GetPoint(pol->c);
 p4=op->GetPoint(pol->d);
You have a three-point-poly if p3=p4