@Test public void testLineFromDirection() { IVector2 a = Vector2.fromXY(1, 2); IVector2 b = Vector2.fromXY(6, 3); ILine lineA = Line.fromDirection(a, b); ILine lineB = Lines.lineFromDirection(a, b); assertThat(lineA, is(lineB)); }
public static ILine lineFromDirection(final IVector2 supportVector, final IVector2 directionVector) { return Line.fromDirection(supportVector, directionVector); }
Lines { public static ILine lineFromDirection(final IVector2 supportVector, final IVector2 directionVector) { return Line.fromDirection(supportVector, directionVector); } }
Lines { public static ILine lineFromDirection(final IVector2 supportVector, final IVector2 directionVector) { return Line.fromDirection(supportVector, directionVector); } private  Lines(); }
Lines { public static ILine lineFromDirection(final IVector2 supportVector, final IVector2 directionVector) { return Line.fromDirection(supportVector, directionVector); } private  Lines(); static ILineSegment segmentFromPoints(final IVector2 start, final IVector2 end); static ILineSegment segmentFromOffset(final IVector2 supportVector, final IVector2 offsetVector); static ILineSegment segmentFromLine(final edu.tigers.sumatra.math.line.ILine line); static ILine lineFromLegacyLine(final edu.tigers.sumatra.math.line.ILine line); static IHalfLine halfLineFromDirection(final IVector2 supportVector, final IVector2 directionVector); static IHalfLine halfLineFromPoints(final IVector2 start, final IVector2 end); static ILine lineFromPoints(final IVector2 supportPointA, final IVector2 supportPointB); static ILine lineFromDirection(final IVector2 supportVector, final IVector2 directionVector); }
Lines { public static ILine lineFromDirection(final IVector2 supportVector, final IVector2 directionVector) { return Line.fromDirection(supportVector, directionVector); } private  Lines(); static ILineSegment segmentFromPoints(final IVector2 start, final IVector2 end); static ILineSegment segmentFromOffset(final IVector2 supportVector, final IVector2 offsetVector); static ILineSegment segmentFromLine(final edu.tigers.sumatra.math.line.ILine line); static ILine lineFromLegacyLine(final edu.tigers.sumatra.math.line.ILine line); static IHalfLine halfLineFromDirection(final IVector2 supportVector, final IVector2 directionVector); static IHalfLine halfLineFromPoints(final IVector2 start, final IVector2 end); static ILine lineFromPoints(final IVector2 supportPointA, final IVector2 supportPointB); static ILine lineFromDirection(final IVector2 supportVector, final IVector2 directionVector);  }