parameters: (self, block)
return_statement: return ownerPosArray
docstring: If this field has an owner, get the owner's position array or
  		centroid, then assign it to the ownerPosArray.
  		If it does not have owner, get the field position in the world
  		space, and assign it to the given array, ownerPosArray.
docstring_summary: If this field has an owner, get the owner's position array or
  		centroid, then assign it to the ownerPosArray.
  		If it does not have owner, get the field position in the world
  		space, and assign it to the given array, ownerPosArray.
docstring_tokens: If this field has an owner get the owner s position array or centroid then assign it to the ownerPosArray . If it does not have owner get the field position in the world space and assign it to the given array ownerPosArray .
function: def __ownerPosition(self, block):
  		"""
  		If this field has an owner, get the owner's position array or
  		centroid, then assign it to the ownerPosArray.
  		If it does not have owner, get the field position in the world
  		space, and assign it to the given array, ownerPosArray.
  		"""
  		ownerPosArray = OpenMaya.MVectorArray()
  		if self.__applyPerVertexValue(block):
  			ownerPos = OpenMayaMPx.cvar.MPxFieldNode_mOwnerPosData
  			try:
  				hOwnerPos = block.inputValue(ownerPos)
  			except:
  				# get the field position in the world space
  				# and add it into ownerPosArray.
  				#
  				worldPos = self.__getWorldPosition()
  				ownerPosArray.append(worldPos)
  			else:
  				dOwnerPos = hOwnerPos.data()
  				fnOwnerPos = OpenMaya.MFnVectorArrayData(dOwnerPos)
  				try:
  					posArray = fnOwnerPos.array()
  				except:
  					worldPos = self.__getWorldPosition()
  					ownerPosArray.append(worldPos)
  				else:
  					# assign vectors from block to ownerPosArray.
  					#
  					for i in range(posArray.length()):
  						ownerPosArray.append(posArray[i])
  		else:
  			try:
  				centroidV = self.__ownerCentroidValue(block)
  			except:
  				# get the field position in the world space.
  				#
  				worldPos = self.__getWorldPosition()
  				ownerPosArray.append(worldPos)
  			else:
  				ownerPosArray.append(centroidV)	
  
  		return ownerPosArray
function_tokens: def __ownerPosition ( self , block ) : ownerPosArray = OpenMaya . MVectorArray ( ) if self . __applyPerVertexValue ( block ) : ownerPos = OpenMayaMPx . cvar . MPxFieldNode_mOwnerPosData try : hOwnerPos = block . inputValue ( ownerPos ) except : # get the field position in the world space # and add it into ownerPosArray. # worldPos = self . __getWorldPosition ( ) ownerPosArray . append ( worldPos ) else : dOwnerPos = hOwnerPos . data ( ) fnOwnerPos = OpenMaya . MFnVectorArrayData ( dOwnerPos ) try : posArray = fnOwnerPos . array ( ) except : worldPos = self . __getWorldPosition ( ) ownerPosArray . append ( worldPos ) else : # assign vectors from block to ownerPosArray. # for i in range ( posArray . length ( ) ) : ownerPosArray . append ( posArray [ i ] ) else : try : centroidV = self . __ownerCentroidValue ( block ) except : # get the field position in the world space. # worldPos = self . __getWorldPosition ( ) ownerPosArray . append ( worldPos ) else : ownerPosArray . append ( centroidV ) return ownerPosArray