Interface GeometryAnalysisFeature

    • Method Detail

      • analyze

        void analyze()
        Run the analysis with the current detail size.
      • buildTime

        int buildTime()
        Returns the time it took to cleanup the geometry.
        Returns:
        -1 if not built, otherwise the number of seconds it took to process the geometry.
      • detailSizes

        double[][] detailSizes​(java.lang.String type)
        Get the estimated max and min size for each detail of the specified type that were found in the latest analysis.
        Parameters:
        type - The detail type to get size estimates for, see details.
        Returns:
        For each detail i, ret[i][0] is the min size and ret[i][1] is the max size.
      • details

        java.lang.String[] details()
        Get list of all detail types that were found in the latest analysis.
        Returns:
        List of found detail types.
      • estimateDetailSize

        double estimateDetailSize()
        Estimate the detail size. Details smaller than the returned value are considered unwanted by default, but it is possible to manually set a different detail size using the 'detailsize' property.
        Returns:
        The estimated detail size.
      • revert

        void revert()
        Revert changes to the model done by cleanup.
      • run

        void run()
        Run automatic cleanup with the current detail size.