Documentation of 'math.geom2d.line.LinearShape2D' Java class
LinearShape2D
math.geom2d.line

Interface LinearShape2D

    • Method Detail

      • supportingLine

        StraightLine2D supportingLine()
        Returns the straight line that contains this linear shape. The direction is the same, and if possible the direction vector should be the same.
        Returns:
        the straight line that contains this linear shape
      • horizontalAngle

        double horizontalAngle()
        Returns the angle with axis (O,i), counted counter-clockwise. Result is given between 0 and 2*pi.
      • origin

        Point2D origin()
        Returns a point in the linear shape.
        Returns:
        a point in the linear shape.
      • direction

        Vector2D direction()
        Return one direction vector of the linear shape.
        Returns:
        a direction vector
      • intersection

        Point2D intersection(LinearShape2D line)
        Returns the unique intersection with a linear shape. If the intersection doesn't exist (parallel lines), returns null.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.