code: func (pTypeDef *Rect) Init() *Rect {
  	if pTypeDef.P1 == nil {
  		pTypeDef.P1 = NewPoint()
  	}
  	if pTypeDef.P2 == nil {
  		pTypeDef.P2 = NewPoint()
  	}
  	return pTypeDef
  }
docs: //
  // Init - sets up the instance according to its default field values, if any
  //