Solver¶
No example available.
Declaration¶
- class declaracad.occ.solver.Solver[source]¶
Bases:
AtomMethods
arc_from_tangent_and_points(start_tangent, ...)Compute the radius and center point for an arc with the given start point and tangent direction to the end point.
freezeFreeze the atom to prevent further modifications to its attributes.
get_memberGet the named member for the atom.
has_observerGet whether the atom has the given observer for a given topic.
has_observersGet whether the atom has observers for a given topic.
members()Get the members dictionary for the type.
notifications_enabledGet whether notification is enabled for the atom.
notifyCall the registered observers for a given topic with positional and keyword arguments.
observeRegister an observer callback to observe changes on the given topic(s).
set_notifications_enabledEnable or disable notifications for the atom.
suppress_notifications()Disable member notifications within in a context.
unobserveUnregister an observer callback for the given topic(s).
- classmethod arc_from_tangent_and_points(start_tangent: Tuple[Point, Direction], end_point: Point) → Tuple[float, Point][source]¶
Compute the radius and center point for an arc with the given start point and tangent direction to the end point.
- Returns:
- result: Tuple[float, Point]
A tuple with the radius and center point
No implementation found