Skip to content

Instantly share code, notes, and snippets.

@abrahamjso
Created May 24, 2013 16:25
Show Gist options
  • Save abrahamjso/5644686 to your computer and use it in GitHub Desktop.
Save abrahamjso/5644686 to your computer and use it in GitHub Desktop.
class Arista_Nodos(object):
def __init__(self):
self.id = 0
self.x1 = 0
self.x2 = 0
self.y1 = 0
self.y2 = 0
self.z1 = 0
self.z2 = 0
def agrega_arista(self):
self.x = [self.x1, self.x2]
self.y = [self.y1, self.y2]
self.z = [self.z1, self.z2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment