Logic and Introduction:
The logical AND& amp with the symbol "&"is true only when both operands are true. The logical AND operation is a short-circuit operation, that is, if the first operand can determine the result, then the second operand will not be evaluated.
For logical AND operation, if the first operand is false, then no matter what the value of the second operand is, the result cannot be true, which is equivalent to shortening the right one. Logical AND is equivalent to AND in life, that is, when two conditions are established at the same time, the result of logical AND operation is true.
Logical non-introduction:
Logical negation is one of the logical operations, which refers to the inverse value of the original value.
Logic or introduction:
FOR logical or, if one or more operands are true, the logical OR operator returns the boolean value true; The result is false only if all operands are false. The operands of logical OR operators need not be of the same type, but they must be of integer or pointer type. Operands are usually relational or equality expressions.
Basic concepts of logical operation and three-dimensional graphics;
1, basic concept
Logical Constants and Variables: There are only two logical constants, namely 0 and 1, which are used to represent two opposing logical states. Like ordinary algebra, logical variables can also be represented by letters, symbols, numbers and their combinations, but there are essential differences between them, because logical constants have only two values, namely 0 and 1, and there is no intermediate value.
Logical operations: In logical algebra, there are three basic logical operations: AND, or NAND. There are many ways to express logical operations, such as statement description, logical algebra, truth table and so on. Logic Algebra: Logic Algebra is a mathematical system that studies the operation and simplification of logic functions. The operation and simplification of logic function is the foundation of digital circuit course, and it is also the key of digital circuit analysis and design.
2, three-dimensional graphics
Boolean operation (Boolean operation) obtains a new object shape through the operations of union, difference and intersection of two or more objects. After Boolean operation, two objects can be modified at any time, and the way and effect of Boolean operation can also be edited and modified. The process of Boolean operation modification can be recorded as animation to show the magical cutting effect.