コード例 #1
0
        public Profile2D GetTrimmingProfile()
        {
            var lunghezzaPolygono = LunghezzaCentroLato + Radius;

            var altezzaPoly = Radius * 2;

            var centerPoint = SquareShapeHelper.GetCenterPoint(SquareShapeHelper.SquareShapeStartPoint.UpLeft,
                                                               CentroX - Radius, CentroY + Radius, lunghezzaPolygono, altezzaPoly);

            var profile = SquareShapeHelper.GetSquareProfile(centerPoint.X, centerPoint.Y, lunghezzaPolygono, altezzaPoly);

            profile.SetPlotStyle();


            return(profile);
        }