func EntityTypeValue(t string) EntityType {
	switch t {
	case "LINE":
		return LINE
	case "3DFACE":
		return THREEDFACE
	case "LWPOLYLINE":
		return LWPOLYLINE
	case "CIRCLE":
		return CIRCLE
	case "POLYLINE":
		return POLYLINE
	case "VERTEX":
		return VERTEX
	case "POINT":
		return POINT
	case "ARC":
		return ARC
	case "TEXT":
		return TEXT
	case "SPLINE":
		return SPLINE
	default:
		return -1
	}
}
EntityTypeValue converts string to EntityType.
If string is unknown EntityType, it returns -1.
package entity
type EntityType int
const (
	LINE EntityType = iota
	THREEDFACE
	LWPOLYLINE
	CIRCLE
	POLYLINE
	VERTEX
	POINT
	ARC
	TEXT
	SPLINE
)
func EntityTypeString(t EntityType) string {
	switch t {
	case LINE:
		return "LINE"
	case THREEDFACE:
		return "3DFACE"
	case LWPOLYLINE:
		return "LWPOLYLINE"
	case CIRCLE:
		return "CIRCLE"
	case POLYLINE:
		return "POLYLINE"
	case VERTEX:
		return "VERTEX"
	case POINT:
		return "POINT"
	case ARC:
		return "ARC"
	case TEXT:
		return "TEXT"
	case SPLINE:
		return "SPLINE"
	default:
		return ""
	}
}