Created
May 24, 2013 16:25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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