Predicates

Define predicates used in Newclid.

predicate_class_from_type(predicate_type)
Return type:

type[PredicateInterface]

predicate_from_construction(construction, points_registry)
Return type:

Union[Circumcenter, Cong, Coll, NColl, Cyclic, ConstantAngle, ACompute, LCompute, ConstantLength, ConstantRatio, EqAngle, Diff, RCompute, ObtuseAngle, MidPoint, EqRatio, Perp, NPerp, Para, NPara, SameClock, SameSide, NSameSide, PythagoreanPremises, PythagoreanConclusions, SquaredConstantLength, SquaredConstantRatio, SimtriClock, SimtriReflect, ContriClock, ContriReflect, AngleEquation, LengthEquation, None]