wpf - Combine multiple Ellipses -
I need to combine several fault coalitions to create a union between them, but the alliance is only geometry class 2 geometry The ideal way to add a class is to combine the same combination which accepts more than geometry 1 and geometric sizes 2.
Does anyone know such things that behaves like this?
Linear geometry is a geometry, so that you can add it like this:
< Pre> & lt; Combined geometry geometry combinemode = "union" & gt; & Lt; CombinedGeometry.Geometry1 & gt; & Lt; EllipseGeometry RadiusX = "70" RadiusY = "30" Center = "100,150" /> & Lt; /CombinedGeometry.Geometry1> & Lt; CombinedGeometry.Geometry2 & gt; & Lt; EllipseGeometry RadiusX = "70" RadiusY = "30" Center = "200,150" /> & Lt; /CombinedGeometry.Geometry2> & Lt; / CombinedGeometry & gt;
Edit You can use this mechanism by adding three or more indexed combinations
& lt; Combined geometry geometry combinemode = "union" & gt; & Lt; CombinedGeometry.Geometry1 & gt; & Lt; Combined Gemetry Geometry CombineMode = "Union" & gt; & Lt; CombinedGeometry.Geometry1 & gt; & Lt; EllipseGeometry RadiusX = "70" RadiusY = "30" Center = "100,150" /> & Lt; /CombinedGeometry.Geometry1> & Lt; CombinedGeometry.Geometry2 & gt; & Lt; EllipseGeometry RadiusX = "70" RadiusY = "30" Center = "200,150" /> & Lt; /CombinedGeometry.Geometry2> & Lt; / CombinedGeometry & gt; & Lt; /CombinedGeometry.Geometry1> & Lt; CombinedGeometry.Geometry2 & gt; & Lt; EllipseGeometry RadiusX = "70" RadiusY = "30" Center = "100,150" /> & Lt; /CombinedGeometry.Geometry2> & Lt; / CombinedGeometry & gt;
You can create a new classroom that is taken from geometry and it has a geometry [] and apply the methods using the above mentioned method.
Comments
Post a Comment