THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/02/2004 at 04:10, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;
---------
Hi all
I have one object
BaseObject *ObjGrid = BaseObject::Alloc(Oplane);
I wanna get the point of this particular location for this plane. So i convert it into polygon object:
PolygonObject *ObjToPolygon;
ObjToPolygon = (PolygonObject * ) ToPoly(ObjGrid);
Now i wanna get the point of the particular location. Then I looked into the documentation so that i applied into my code:
for(i=51; 2600; i++) {
Vector *Prevpt;
Prevpt = ObjToPolygon->GetPoint();
if (Prevpt) {
Prevpt[i - 51] ;
}
}
Is what i am doing correct?
Thanks and regards