
# -*- coding: utf-8 -*-

#
#	File:			vertex.py
#
#	Author:			Javier Ibarra
#	Creation day:	22/01/2016
#	
#	Last modify:	22/01/2016
#

# -*- coding: utf-8 -*-

#
#	File:			vertex.py
#
#	Author:			Javier Ibarra
#	Creation day:	22/01/2016
#	
#	Last modify:	22/01/2016
#

class Vertex:
	"""
		Class: Vertex
		
		Description: Allow to store de info about one vertex

	"""

	def __init__(self, index, name=none, obj=none):
		self.index = index
		self.name = name
		self.obj = obj

	def _getIndex():
		return self.id

	def getName():
		return self.name

	def getObject():
		return self.obj

	def setName(name):
		self.name = name

	def setObject(obj):
		self.obj = obj
Add vertex class