Perpendicularity
- class Perp
Bases:
Predicate
perp A B C D - Represent that the line AB is perpendicular to the line CD.
-
NAME:
str
= 'perp'
- classmethod preparse(args)
- Return type:
Optional
[tuple
[str
,...
]]
- classmethod parse(args, dep_graph)
- Return type:
Optional
[tuple
[Any
,...
]]
- classmethod check_numerical(statement)
- Return type:
bool
- classmethod add(dep)
- Return type:
None
- classmethod check(statement)
Hypothesis : the numercial test is passed
- Return type:
bool
- classmethod why(statement)
Hypothesis : the numercial test is passed This function should only be giving one same dependency, which is the implicit dependency used in the first check success.
- Return type:
- classmethod to_constructive(point, args)
- Return type:
str
- classmethod pretty(statement)
Write the predicate in a natural language.
- Return type:
str
- classmethod to_tokens(args)
- Return type:
tuple
[str
,...
]
- classmethod draw(ax, args, dep_graph, rng)
-
NAME:
- class NPerp
Bases:
Predicate
nperp A B C D - Represent that lines AB and CD are NOT perpendicular.
Numerical only.
-
NAME:
str
= 'nperp'
- classmethod preparse(args)
- Return type:
Optional
[tuple
[str
,...
]]
- classmethod parse(args, dep_graph)
- Return type:
Optional
[tuple
[Any
,...
]]
- classmethod check_numerical(statement)
- Return type:
bool
- classmethod check(statement)
Hypothesis : the numercial test is passed
- Return type:
bool
- classmethod pretty(statement)
Write the predicate in a natural language.
- Return type:
str
-
NAME: