示例#1
0
        public static T Orient <T>(this T geometry, Cartesian csFrom, Cartesian csTo) where T : IGeometry
        {
            TransformMatrix orientationMatrix = Create.OrientationMatrix(csFrom, csTo);

            return((T)ITransform(geometry, orientationMatrix));
        }