MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / fromThreeUUID

Function fromThreeUUID

src/utilities/geometry/ThreeJS.cpp:206–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206std::string fromThreeUUID(const std::string& uuid) {
207 if (uuid.size() > 2) {
208 if ((uuid[0] != '{') && (uuid[uuid.size() - 1] != '}')) {
209 return "{" + uuid + "}";
210 }
211 }
212 return uuid;
213}
214
215std::vector<double> toThreeVector(const Point3dVector& vertices) {
216 std::vector<double> result;

Callers 1

makeGeometriesFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected