/// Convert a point in model coordinates to surface coordinates
Convert a point in model coordinates to surface coordinates
Convert a point in model coordinates to surface coordinates
pub fn point_model_to_surface(
        &self,
        point_3d: Point<3>,
    ) -> geometry::Point<2> {
        let point_2d = match self {
            Self::Swept(surface) => surface.point_model_to_surface(&point_3d),
        };
        geometry::Point::new(point_2d, point_3d)
    }
pub fn point_model_to_surface ( & self , point_3d : Point < 3 > , ) -> geometry :: Point < 2 > { let point_2d = match self { Self :: Swept ( surface ) => surface . point_model_to_surface ( & point_3d ) , } ; geometry :: Point :: new ( point_2d , point_3d ) }
Convert a point in model coordinates to surface coordinates
Convert a point in model coordinates to surface coordinates
&self
point_3d
Point<3>