# How to draw a smooth curve between 2 points given the 2 tangents at them?

Let me ask a question , given 2 points on the XY plane and given the 2 tangents at them, how to compute an arbitrary chosen smooth curve passing the 2 given points. For details, traveling along the curve in one direction, the curvature must satisfy (Condition A or Condition B) given

Condition A. the curvature does not increase ; Condition B. the curvature does not decrease.