Functions | |
json | FormIt.Utils.DecodeBase64Bytes (decodeBytes) |
Decode a vector of bytes from base64 format Parameters: In: bytes to decode Out: decoded bytes. | |
json | FormIt.Utils.EncodeBase64Bytes (encodeBytes) |
Encode a vector of bytes to base64 format Parameters: In: bytes to encode Out: encoded string | |
json | FormIt.Utils.NewGuid () |
NewGuid() function. | |
json | FormIt.Utils.GuidFromString (hexStr) |
GuidFromString() function. | |
json | FormIt.Utils.ModelStatisticsSummary (nHistoryId) |
Get the model summary statistics data. | |
json FormIt.Utils.DecodeBase64Bytes | ( | decodeBytes | ) |
Decode a vector of bytes from base64 format Parameters: In: bytes to decode Out: decoded bytes.
[in] | decodeBytes | Array of char |
json FormIt.Utils.EncodeBase64Bytes | ( | encodeBytes | ) |
Encode a vector of bytes to base64 format Parameters: In: bytes to encode Out: encoded string
[in] | encodeBytes | Array of char |
json FormIt.Utils.GuidFromString | ( | hexStr | ) |
json FormIt.Utils.ModelStatisticsSummary | ( | nHistoryId | ) |
Get the model summary statistics data.
Note we could also return data per history but for now that is not required and in large models could be expensive to pass through the emscripten boundary. For now we are mostly interested in the number of triangles. Parameters: In: nHistoryId Out: json object containing the results.
[in] | nHistoryId | int |
json FormIt.Utils.NewGuid | ( | ) |
NewGuid() function.