//--------------------------------------------------------------------------------------------------

        public static BooleanCommon Create(Body targetBody, IShapeOperand operand)
        {
            Debug.Assert(targetBody != null);

            var boolean = new BooleanCommon();

            targetBody.AddShape(boolean);
            boolean.AddOperand(operand);

            return(boolean);
        }
        //--------------------------------------------------------------------------------------------------

        public static BooleanCommon Create(Body targetBody, IShapeOperand[] operands)
        {
            Debug.Assert(targetBody != null);

            var boolean = new BooleanCommon();

            targetBody.AddShape(boolean);
            foreach (var shapeOperand in operands)
            {
                boolean.AddOperand(shapeOperand);
            }

            return(boolean);
        }