Given the curvature, find the equation of any curve in plane

Assuming that you know the signed curvature (i.e., $+1$ for the unit circle traversed counterclockwise, $-1$ when it's traversed clockwise), you can do it via integration. I'll give details below.

But if you know only the curvature, then there's no way to reconstruct the curve. Here's why:

Let $$ f_1(x) = x^3\\ f_2(x) = \begin{cases}x^3 & x \ge 0 \\ -x^3 &x < 0\end{cases} $$

The graphs of $f_1$ and $f_2$ have the same curvatures $k(x)$ at $(x, f_1(x))$ and $(x, f_2(x))$, respectively, for every real number $x$.

Hence, if I told you $k(x)$, you would not know which graph it came from.

Now what about my claim about signed curvature? That's almost true. If I give you the signed curvature $k(t)$ for the curve, where $t$ denotes the time at which you're at each point of the curve ... you still don't know enough.

Suppose that I say $k(t) = 1$ for $0 \le t \le 1$. Then

$$ u_1(t) = (\cos 2\pi t, \sin 2\pi t) $$ is a curve with that curvature. It traverses a unit circle. Unfortunately, so is $$ u_1(t) = (\cos \pi t, \sin \pi t) $$ which traverses only a half-circle. (And, of course, I could have moved everything 5 units to the right, and gotten another solution).

So what can you do?

Suppose you're given the signed curvature $k(s)$, where $s$ tells you how far along the curve you've travelled since the starting point. And we agree to start at the origin $(0,0)$, headed in the positive $x$ direction. Then there is in fact a unique curve that starts at that point, in that direction, and has the prescribed curvature at every point. The way to find the curve involves integration --- are you familiar with that notion? --- and a little linear algebra; I can write it out for you if you like. Let me know in the comments.


For your question as given in the comments:

I am not sure which "certain class" the function belongs to. The only thing I know is the points' location and curvature at any given points. Is there really nothing I can do to get the function of this curve?

No and yes and no and yes/no, depending on what you actually mean.

No, you can't get a function from only a finite number of points of its graphic
The reason is simple: if you could, you would know value of this function in any other point, but, obviously, one can always define another function to be the same as yours anywhere sans that point (or its small enough neighborhood, for continuous functions - but note that "$f$ is a continuous function" is additional knowledge which can't be inferred from a finite number of values).

Yes, you can build a function that would have given values and curvatures in given points - actually, infinitely many of them
If you have your set of points fixed, take a segment $[x_i, x_{i+1}]$ where you know values and curvatures in $x_i, x_{i+1}$ but not in between them. Let $f(x) = A_ix^3+B_ix^2+C_ix+D_i | x \in [x_i, x_{i+1}]$, then you have four conditions (two values and two curvatures) for four variables ($A_i, B_i, C_i, D_i$) and can find their values. This way, segment after segment, you can define your function wherever you know values for it.
Problem A: it doesn't guarantee that this spline of yours will give the same result as your initial source of function values for other points (it likely won't, but if the function is "good" in a certain sense it won't deviate far either).
Problem B: you can use other form of $f$ on a segment (say, $A_ix^4+B_ix^3+C_ix^2+D_i\sin x$), giving you the same fixed values, but other intermediate values.

No, you can't surely confirm with information of limited precision that the function is, say, $\sin(x+\pi/6)$
The reason is pretty much the same: if you know values of a function only up to finitely many decimal digits, you can't distinguish between, say, $\sin(x + \pi / 6)$ and $\sin(x + \pi/6 + 10^{-100000})$ - but algebraically they are different functions.

Yes/no, you can find a function which is both "simple" and "close" to the data you're given, but since terms in quotes are fuzzy, there is no algorithm for doing so The basic idea that you define some family of functions - say, $f(x) = A\sin(Bx+C) + D$, define some measure of "distance" - say, $\sum_i(f(x_i) - y_i)^2 + \sum_i(k(x_i) - k_i)^2$ where $k(x)$ is curvature of $f$ and search for parameters $A,B,C,D$ so that this distance would be minimal. Of course, there's a question of how to choose the initial family... can't advise much better than "eyeballing it".