class_docstr: Representation of the linear function.
class_docstr_tok: ["Representation","of","the","linear","function","."]
docstr: Calculate distance between line and point using L2 norm.
  https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line#Another_formula
  
  :param x: X coordinate of a point.
  :param y: Y coordinate of a point.
  :returns: Distance.
docstr_tok: ["Calculate","distance","between","line","and","point","using","L2","norm",".","https",":","\/\/en.wikipedia.org\/wiki\/Distance_from_a_point_to_a_line","#","Another_formula",":","param","x",":","X","coordinate","of","a","point",".",":","param","y",":","Y","coordinate","of","a","point",".",":","returns",":","Distance","."]
code: def distance_of_point_from_the_line(
      self, x: float, y: float
  ) -> float:
      """
      Calculate distance between line and point using L2 norm.
      https://en.wikipedia.org/wiki/Distance_from_a_point_to_a_line#Another_formula
  
      :param x: X coordinate of a point.
      :param y: Y coordinate of a point.
      :returns: Distance.
      """
      y_difference = np.abs(self(x) - y)
      slope_squared = np.math.pow(np.math.tan(self.angle), 2)  # type: ignore
      return y_difference / np.math.sqrt(1.0 + slope_squared)
  
imports: from abc import ABC, abstractmethod
  from logging import Logger
  from pathlib import Path
  import string
  from typing import Any, Callable, List, Tuple, Union
  import numpy
label_desc: Use image node_id 3 for calling the Line obj's underlying member method code with example usage: obj.distance_of_point_from_the_line(x, y) and returns: unknown