@Test public void testSegmentFromOffset() { IVector2 a = Vector2.fromXY(1, 2); IVector2 b = Vector2.fromXY(6, 3); ILineSegment lineA = LineSegment.fromOffset(a, b); ILineSegment lineB = Lines.segmentFromOffset(a, b); assertThat(lineA, is(lineB)); }
public static ILineSegment segmentFromOffset(final IVector2 supportVector, final IVector2 offsetVector) { return LineSegment.fromOffset(supportVector, offsetVector); }
Lines { public static ILineSegment segmentFromOffset(final IVector2 supportVector, final IVector2 offsetVector) { return LineSegment.fromOffset(supportVector, offsetVector); } }
Lines { public static ILineSegment segmentFromOffset(final IVector2 supportVector, final IVector2 offsetVector) { return LineSegment.fromOffset(supportVector, offsetVector); } private  Lines(); }
Lines { public static ILineSegment segmentFromOffset(final IVector2 supportVector, final IVector2 offsetVector) { return LineSegment.fromOffset(supportVector, offsetVector); } 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 ILineSegment segmentFromOffset(final IVector2 supportVector, final IVector2 offsetVector) { return LineSegment.fromOffset(supportVector, offsetVector); } 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);  }