How to get surface C1 and C2 derivative in target curve?

i read .stp file and get a TopoDS_Shape. Then i select a edge in the curve of a surface and i want to know the surface C1 derivative C2 derivative along the target curve.
How could i do this? Thanks very much!