Ignore:
Timestamp:
Aug 21, 2009, 12:17:52 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
b73929
Parents:
5f4960
Message:

New function RemoveAllBoundaryPoints() for sequentially removing all boundary points.

  • This is meant as a pre-test for the ConvexizeNonconvexTesselation().
  • new function is incorporated into builder.cpp:ParseCommandLineOptions for case 'o'
File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/builder.cpp

    r5f4960 r8b7e0a  
    18731873                //FindConvexBorder((ofstream *)&cout, mol, &LCList, argv[argptr]);
    18741874                FindNonConvexBorder((ofstream *)&cout, mol, &LCList, argv[argptr], 10.);
    1875 
    1876                 double volumedifference = ConvexizeNonconvexEnvelope((ofstream *)&cout, mol->TesselStruct, mol, argv[argptr]);
    1877                 double clustervolume = VolumeOfConvexEnvelope((ofstream *)&cout, mol->TesselStruct, &configuration);
    1878                 cout << Verbose(0) << "The tesselated volume area is " << clustervolume << " " << (configuration.GetIsAngstroem() ? "angstrom" : "atomiclength") << "^3." << endl;
    1879                 cout << Verbose(0) << "The non-convex tesselated volume area is " << clustervolume-volumedifference << " " << (configuration.GetIsAngstroem() ? "angstrom" : "atomiclength") << "^3." << endl;
     1875                RemoveAllBoundaryPoints((ofstream *)&cout, mol->TesselStruct, mol, argv[argptr]);
     1876//                double volumedifference = ConvexizeNonconvexEnvelope((ofstream *)&cout, mol->TesselStruct, mol, argv[argptr]);
     1877//                double clustervolume = VolumeOfConvexEnvelope((ofstream *)&cout, mol->TesselStruct, &configuration);
     1878//                cout << Verbose(0) << "The tesselated volume area is " << clustervolume << " " << (configuration.GetIsAngstroem() ? "angstrom" : "atomiclength") << "^3." << endl;
     1879//                cout << Verbose(0) << "The non-convex tesselated volume area is " << clustervolume-volumedifference << " " << (configuration.GetIsAngstroem() ? "angstrom" : "atomiclength") << "^3." << endl;
    18801880                argptr+=1;
    18811881              }
Note: See TracChangeset for help on using the changeset viewer.