How to combine multiple GeometryGroup objects?
I have 2 different GeometryGroup
collections that I want to composite, but couldn't find anything on the net for this. Any i开发者_JAVA技巧deas on how to do this?
You'll need to add the Children
of one collection into the other, or build a third, new GeometryGroup
which does a union of both children. For example:
GeometryGroup newGroup = new GeometryGroup();
foreach(var child in group1.Children.Union(group2.Children))
newGroup.Children.Add(child);
精彩评论