Characterization of single semiflexible filaments under geometric constraints