예제 #1
0
        private void GeometryTestForm_Load(object sender, EventArgs e)
        {
            drawingBox        = new DrawingBox();
            drawingBox.Anchor = AnchorStyles.Left;
            drawingBox.Size   = this.ClientSize;
            drawingBox.Paint += DrawingBox_Paint;
            this.Controls.Add(drawingBox);

            intesectDrawController = new IntersectDrawController(drawingBox);
            intesectDrawController.Test();

            pointInPolygonController = new PointInPolygonController(drawingBox);
            pointInPolygonController.Test();

            pointRelationPosController = new PointRelationPosController(drawingBox);
            pointRelationPosController.Test();
        }