Dump prints out information about the LibraryGeometries
(out io.Writer, indent int)
| 21 | |
| 22 | // Dump prints out information about the LibraryGeometries |
| 23 | func (lg *LibraryGeometries) Dump(out io.Writer, indent int) { |
| 24 | |
| 25 | if lg == nil { |
| 26 | return |
| 27 | } |
| 28 | fmt.Fprintf(out, "%sLibraryGeometries:\n", sIndent(indent)) |
| 29 | ind := indent + step |
| 30 | if lg.Asset != nil { |
| 31 | lg.Asset.Dump(out, ind) |
| 32 | } |
| 33 | for _, g := range lg.Geometry { |
| 34 | g.Dump(out, ind) |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | // |
| 39 | // Geometry |