You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: face_point.rs
    path of file: ./repos/fornjot/crates/fj-core/src/algorithms/intersect
    
    the code of the file until where you have to start completion: //! Intersection between faces and points in 2D

use fj_math::Point;

use crate::{
    objects::{Face, HalfEdge},
    storage::Handle,
};

use super::{
    ray_segment::RaySegmentInt
    
    fn ray_hits_vertex_while_staying_inside() {
        let mut core = Core::new();

        let face =
            Face::unbound(core.layers.objects.surfaces.xy_plane(), &mut core)
                .update_region(
                    |region, core| {
                        region.update_exterior(
                            |_, core| {
                                Cycle::polygon(
                                    [[0., 0.], [2., 1.], [3., 0.], [3., 4.]],
                                    core,
                                )
                            },
                            core,
                        )
                    },
                    &mut core,
                );
        let point = Point::from([1., 1.]);

        let intersection = (&face, &point).intersect();
        assert_eq!(
            intersection,
            Some(FacePointIntersection::PointIsInsideFace)
        );
    }