Class LineFromLineDistance

Calculates the distance between two lines.

Hierarchy

  • Procedures.Procedure<{
        line1: {
            a: number;
            b: number;
            c: number;
        };
        line2: {
            a: number;
            b: number;
            c: number;
        };
    }, {
        distance: number;
    }>
    • LineFromLineDistance

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Performs the evaluation. Should be a pure function.

    Parameters

    • input: {
          line1: {
              a: number;
              b: number;
              c: number;
          };
          line2: {
              a: number;
              b: number;
              c: number;
          };
      }

      The input data.

      • line1: {
            a: number;
            b: number;
            c: number;
        }
        • a: number
        • b: number
        • c: number
      • line2: {
            a: number;
            b: number;
            c: number;
        }
        • a: number
        • b: number
        • c: number

    Returns {
        distance: number;
    }

    The output data.

    • distance: number
  • Performs the procedure.

    Parameters

    • input: {
          line1: {
              a: number;
              b: number;
              c: number;
          };
          line2: {
              a: number;
              b: number;
              c: number;
          };
      }
      • line1: {
            a: number;
            b: number;
            c: number;
        }
        • a: number
        • b: number
        • c: number
      • line2: {
            a: number;
            b: number;
            c: number;
        }
        • a: number
        • b: number
        • c: number

    Returns {
        distance: number;
    }

    • distance: number

Generated using TypeDoc