def __init__(self, geom=Geometry()): """(Body, Geometry) -> NoneType *Description* """ Geometry.__init__(self, geom.pb) self.geom = geom self.p = self.empty_uv_xyz() self.name = "Empty"
def __init__(self): Geometry.__init__(self) # A 4xV numpy array of vertex positions. They are homogeneous coordinates # where self.vertex_pos[3, i] is always 1. This facilitates transform # *all* the points by X * v. self.vertex_pos = None # A 3xF numpy array of face normals. This facilitates transforming normals # by taking xform.rotation() * v. self.face_normals = None # A length V list of MeshVertex instances. self.vertices = [] # A length F list of MeshFace instances. self.faces = []
def __init__(self): Geometry.__init__(self)
def __init__(self,border,normal=2,holes=[]): """Initialize a Polygon instance""" Geometry.__init__(self) self.prop = None self.coords = border.reshape(-1,3)
def __init__(self, border, normal=2, holes=[]): """Initialize a Polygon instance""" Geometry.__init__(self) self.prop = None self.coords = border.reshape(-1, 3)
def __init__(self, geom=Geometry()): Geometry.__init__(self, geom.pb) self.geom = geom self.p = self.empty_uv_xyz() self.name = "Empty"