在ArcGISEngine中实现目标要素镜像复制主要用到下面几个接口
<!--[if !supportLists]-->Ø<!--[endif]-->ITransformation
<!--[if !supportLists]-->Ø<!--[endif]-->IAffineTransformation2D
<!--[if !supportLists]-->Ø<!--[endif]-->ITransform2D
具体功能实现的代码如下
ILinenLine = newLineClass();//镜像轴线
nLine.PutCoords(pPoint1, pPoint2);
ITransformation nTransformation = newAffineTransformation2DClass();
IAffineTransformation2D nAffineTransformation2D = nTransformation asIAffineTransformation2D;
nAffineTransformation2D.DefineReflection(nLine);
ITransform2D nTransform2D = pPolyline asITransform2D;//镜像目标
nTransform2D.Transform(esriTransformDirection.esriTransformForward, nTransformation);
IPolylinepPolyline1 = nTransform2D asIPolyline;//镜像所得
文章来源:http://blog.csdn.net/sydbc/article/details/17166703