main.cpp 622 B

1234567891011121314151617181920212223242526272829
  1. #include "coefficients.hpp"
  2. #include "polygon.hpp"
  3. int main(){
  4. try{
  5. Polygon P("u200l200d200r200");
  6. cout<<P.get_fp()<<endl;
  7. /*cout<<"Size : "<<P.size()<<endl;
  8. cout<<"Graph size : "<<P.graph_size()<<endl;
  9. for(size_t i=0;i<P.graph_size();++i){
  10. for(size_t j=0;j<P.graph_size();++j){
  11. cout<<P.get_coeff_B(i,j)<<' ';
  12. }
  13. cout<<endl;
  14. }
  15. cout<<endl;
  16. for(size_t i=0;i<P.graph_size();++i){
  17. for(size_t j=0;j<P.graph_size();++j){
  18. cout<<P.get_coeff_C(i,j)<<' ';
  19. }
  20. cout<<endl;
  21. }*/
  22. }
  23. catch(const Error& error){
  24. cerr<<error.msg<<endl;
  25. }
  26. }