GroupCount returns the number of geometry groups (for multimaterial).
()
| 103 | |
| 104 | // GroupCount returns the number of geometry groups (for multimaterial). |
| 105 | func (g *Geometry) GroupCount() int { |
| 106 | |
| 107 | return len(g.groups) |
| 108 | } |
| 109 | |
| 110 | // GroupAt returns pointer to geometry group at the specified index. |
| 111 | func (g *Geometry) GroupAt(idx int) *Group { |
no outgoing calls
no test coverage detected