# calculateRotationLocalCS

fun calculateRotationLocalCS(curveRelativePoint: CurveRelativeVector1D): Either<GeometryException.ValueNotContainedInDomain, Rotation2D>

Returns the orientation in the local cartesian coordinate system that is tangential to this curve at a given point which is given in a curve relative coordinate system. An error is returned, if the requested point is not within this curve's domain.

#### Return

orientation tangential to this curve

#### Parameters

__curve__RelativePoint

point in curve relative coordinates for which the orientation is to be calculated