List of usage examples for org.apache.commons.math3.geometry.euclidean.threed Line Line
public Line(final Vector3D p1, final Vector3D p2) throws MathIllegalArgumentException
From source file:NewEmptyJUnitTest.java
@Test public void hello() { Line line = new Line(new Vector3D(-1, -1, -1), new Vector3D(1, -1, -1)); boolean result = line.contains(new Vector3D(2, -1, -1)); assertTrue(result);/*from ww w . j a v a 2s . c o m*/ }