Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 712 Bytes

Model-Compare-Plugin.md

File metadata and controls

19 lines (14 loc) · 712 Bytes

A compare plugin basically provides the functionality to the BIMserver to compare 2 models. Comparing has been made pluggable because comparing models is a hard problem in programming and requirements vary a lot.

Details

The plugin just has one method, which returns the actual ModelCompare instance.

public interface ModelComparePlugin extends Plugin {
        ModelCompare createModelCompare(PluginConfiguration pluginConfiguration) throws ModelCompareException;
}

The model compare instance looks like this:

public interface ModelCompare {
        CompareResult compare(IfcModelInterface model1, IfcModelInterface model2, CompareType compareType) throws ModelCompareException;
}