Java Code Examples for org.apache.commons.math3.geometry.euclidean.twod.Euclidean2D#getInstance()

The following examples show how to use org.apache.commons.math3.geometry.euclidean.twod.Euclidean2D#getInstance() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Euclidean3D.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public Euclidean2D getSubSpace() {
    return Euclidean2D.getInstance();
}
 
Example 2
Source File: Euclidean2DTest.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
@Test
public void testSerialization() {
    Space e2 = Euclidean2D.getInstance();
    Space deserialized = (Space) TestUtils.serializeAndRecover(e2);
    Assert.assertTrue(e2 == deserialized);
}
 
Example 3
Source File: Euclidean3D.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public Euclidean2D getSubSpace() {
    return Euclidean2D.getInstance();
}
 
Example 4
Source File: Euclidean3D.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public Euclidean2D getSubSpace() {
    return Euclidean2D.getInstance();
}
 
Example 5
Source File: Euclidean3D.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public Euclidean2D getSubSpace() {
    return Euclidean2D.getInstance();
}
 
Example 6
Source File: Euclidean3D.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public Euclidean2D getSubSpace() {
    return Euclidean2D.getInstance();
}
 
Example 7
Source File: Euclidean3D.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public Euclidean2D getSubSpace() {
    return Euclidean2D.getInstance();
}
 
Example 8
Source File: Euclidean3D.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public Euclidean2D getSubSpace() {
    return Euclidean2D.getInstance();
}
 
Example 9
Source File: Euclidean3D.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/** {@inheritDoc} */
public Euclidean2D getSubSpace() {
    return Euclidean2D.getInstance();
}
 
Example 10
Source File: Euclidean2DTest.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
@Test
public void testSerialization() {
    Space e2 = Euclidean2D.getInstance();
    Space deserialized = (Space) TestUtils.serializeAndRecover(e2);
    Assert.assertTrue(e2 == deserialized);
}