Library supporting the conversion of cityJSON data to and from OCCT
To build CJT two other libaries are required: OpenCascade and nhollman/json.
Building the libary is made easy with cmake:
- Set the "main folder" as source code location
- Set the build binaries folder to the "main folder/build"
CJT can be found in cmake with "find_package()"*. This will expose the "OpenCASCADE_INCLUDE_DIR", "OpenCASCADE_LIBRARY_DIR" and "CJT_Foundation_LIBRARIES" variables. Examples how to use these can be found in the examples folder.
*"find_package()" only functions if CJT's binaries have been build in the "main folder/build" path.
The example files have examples included that have extensive descriptions of every step that is taken. Added to this in the header files short descriptions can be found covering every major function.
- During the coversion from the OpenCASCADE to CityJSON format not every face is orientated properly.
- Only Solid and Multisurface CityJSON objects are supported