THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/02/2005 at 19:05, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.012
Platform: Windows ;
Language(s) : C++ ;
---------
Hi,
I would like to know how to get the points of an selected edge? By using the following code, I managed to get number of selected edges. Now I want to know the points of each and every edges. Can any one help me?
plyobject = ToPoly(obj);
Neighbor n;
n.Init(plyobject->GetPointCount(), plyobject->GetPolygon(), plyobject->GetPolygonCount(), NULL);
BaseSelect *bss = plyobject->GetSelectedEdges(&n;, EDGES_SELECTION);
MessageDialog(LongToString(bss->GetCount()));