THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/03/2003 at 12:04, xxxxxxxx wrote:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C++ ;
op->GetEdgeS() does not work correctly. It doubles the selection count. If there is one edge selected it returns 2 etc.
On 18/03/2003 at 08:52, xxxxxxxx wrote:
No, that is correct, it -does- work, and you -do- have 2 edges, one per polygon, try it with a single polygon. I know it works, I've used it
On 18/03/2003 at 09:05, xxxxxxxx wrote:
I thought two polygons do share the SAME edge and not two edges?
This actually has to be the case or GetEdgePolys(LONG a, LONG b, LONG* first, LONG* second) wouldn´t work would it? This is contradictory somehow. You can get the neighboring polygons of ONE edge but if ONE edge is selected it returns an edgecount of two edges??
And here a text out of the docs:
for example think of two polygons that share an edge
So what´s right now? You see, I´m confused
On 18/03/2003 at 09:26, xxxxxxxx wrote:
I think maybe you misunderstand the function and edges it also returns the polygons, in that case, 1 edge also has 2 polygons, so you get back 2, it is just like the Neighbor class.
"The edges are indexed by 4 * polygon + edge where polygon is the polygon index and edge is the edge index between 0 and 3. "
So the polygon is:
On 18/03/2003 at 10:12, xxxxxxxx wrote:
lol, thanks for the explanation. I´m not sure if I 100% got it but if you are saying it than I believe it Well, I will need some edge processing very soon in one of my plugins, so prepare to see me in the plugincafe asking questions toward Dave O´Reilly empire..