namespace pdinklag.CPW.Common
{
    /// <summary>
    /// Interface for target contexts that manage temporary dynamic targets.
    /// </summary>
    public interface ITargetContext
    {
        /// <summary>
        /// Creates a ray with the given origin and direction.
        /// </summary>
        /// <param name="origin">the origin</param>
        /// <param name="direction">the direction</param>
        /// <returns></returns>
        IRay Ray(ITarget origin, IDirection direction);
    }
}
