Skip to content

Instantly share code, notes, and snippets.

@deepakputhraya
Created February 1, 2018 12:55
Show Gist options
  • Save deepakputhraya/2cc7aad23102f84597ded62e8e0c5eb1 to your computer and use it in GitHub Desktop.
Save deepakputhraya/2cc7aad23102f84597ded62e8e0c5eb1 to your computer and use it in GitHub Desktop.
{
"points" : {
"p1" : {
"x" : 0.5,
"y" : 0.6
},
"p2" : {
"x" : 0.5,
"y" : 0.6
},
"p3" : {
"x" : 0.5,
"y" : 0.6
},
"p4" : {
"x" : 0.5,
"y" : 0.6
},
"p5" : {
"x" : 0.5,
"y" : 0.6
},
"p6" : {
"x" : 0.5,
"y" : 0.6
}
},
"instances" : [{
"_id" : 1,
"label" : "car",
"color" : "red",
"segments" : [{
"exterior" : ["p1", "p2", "p3"],
"interior" : [["p4", "p5", "p6"]]
}, {
"exterior" : ["p100", "p12", "p36", "p44"],
"interior" : [["p40", "p25", "p62"]]
}]
}, {
"_id" : 2,
"label" : "road",
"color" : "blue",
"segments" : [{
"exterior" : ["p1", "p2", "p3", "p4", "p5", "p6"],
"interior" : [["p11", "p7", "p8"], ["p10", "p13", "p15"]]
}]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment