public static Tuple3 < List < Point2D_F64 > , List < Point2D_F64 > , List < Point2D_F64 > > split3 ( List < AssociatedTriple > input ) { List < Point2D_F64 > list1 = new ArrayList <> ( ) ; List < Point2D_F64 > list2 = new ArrayList <> ( ) ; List < Point2D_F64 > list3 = new ArrayList <> ( ) ; for ( int i = 0 ; i < input . size ( ) ; i ++ ) { list1 . add ( input . get ( i ) . p1 ) ; list2 . add ( input . get ( i ) . p2 ) ; list3 . add ( input . get ( i ) . p3 ) ; } return new Tuple3 <> ( list1 , list2 , list3 ) ; }
Splits the associated triple into three lists