AddGroupList adds the specified list of groups to this geometry.
(groups []Group)
| 95 | |
| 96 | // AddGroupList adds the specified list of groups to this geometry. |
| 97 | func (g *Geometry) AddGroupList(groups []Group) { |
| 98 | |
| 99 | for _, group := range groups { |
| 100 | g.groups = append(g.groups, group) |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | // GroupCount returns the number of geometry groups (for multimaterial). |
| 105 | func (g *Geometry) GroupCount() int { |
no outgoing calls
no test coverage detected