pub fn point_model_to_surface(
        &self,
        point_3d: Point<3>,
    ) -> Result<SurfacePoint, ()> {
        let point_2d = match self {
            Self::Plane(plane) => plane.point_model_to_surface(point_3d)?,
        };

        Ok(SurfacePoint {
            value: point_2d,
            from: point_3d,
        })
    }
/// Convert a point in model coordinates to surface coordinates
///
/// Returns an error, if the provided point is not in the surface.
Convert a point in model coordinates to surface coordinates
Returns an error, if the provided point is not in the surface.
Convert a point in model coordinates to surface coordinates Returns an error if the provided point is not in the surface .
pub fn point_model_to_surface(
        &self,
        point_3d: Point<3>,
    ) -> Result<SurfacePoint, ()> {
        let point_2d = match self {
            Self::Plane(plane) => plane.point_model_to_surface(point_3d)?,
        };
        Ok(SurfacePoint {
            value: point_2d,
            from: point_3d,
        })
    }
pub fn point_model_to_surface ( & self , point_3d : Point < 3 > , ) -> Result < SurfacePoint , ( ) > { let point_2d = match self { Self :: Plane ( plane ) => plane . point_model_to_surface ( point_3d ) ? , } ; Ok ( SurfacePoint { value : point_2d , from : point_3d , } ) }
Convert a point in model coordinates to surface coordinates
Returns an error, if the provided point is not in the surface.
Convert a point in model coordinates to surface coordinates Returns an error if the provided point is not in the surface .
&self
point_3d
Point<3>