Obtuse Angle
- class ObtuseAngle(**data)
Bases:
NumericalPredicate
obtuse_angle a b c
Represents that the angle a b c is an obtuse angle. If a, b, c are collinear, this predicate represents that b is between a and c.
Numerical only.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- predicate_type: Literal[PredicateType.OBTUSE_ANGLE]
- head1: Point
- corner: Point
- head2: Point
- static preparse(args)
Preparse the predicate arguments.
- Return type:
tuple
[NewType
(PredicateArgument
,str
),...
] |None
- check_numerical()
Check numerically the predicate.
- Return type:
bool
- to_tokens()
Convert the predicate to a tuple of strings.
- Return type:
tuple
[NewType
(PredicateArgument
,str
),...
]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].