Get Global Mid Point

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

On 17/02/2004 at 20:37, xxxxxxxx wrote:

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

---------
Hi all,
I wanna get the global mid point of the object. Like I can do it in COFFEE by using
Vector pos = obj->GetMg()->GetMulP(pos);
Thanks in advance

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

On 17/02/2004 at 21:55, xxxxxxxx wrote:

I mean how can I get the world coordinates of a point of a polygonal object even if it is rotated? My code is like this...
PolygonObject* ObjToPolygon = static_cast <PolygonObject*>(obj);
pos = ObjToPolygon- >GetMg();
I wanna get the global coordinates of the polygon object. Anyone has any idea how to do this?
Thanks in advance

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

On 19/02/2004 at 19:26, xxxxxxxx wrote:

    
    
    obj->GetMg().off