Class Intersection

Hierarchy

  • Intersection

Constructors

Properties

points: Point[]

Methods

  • Used to verify if a point is alredy in the collection

    Parameters

    Returns boolean

  • check if point T is on the segment or line defined between A and B

    Parameters

    • T: Point

      the point we are checking for

    • A: Point

      one extremity of the segment

    • B: Point

      the other extremity of the segment

    • Optional infinite: boolean = false

      if true checks if T is on the line defined by A and B

    Returns boolean

    true if T is contained

Generated using TypeDoc