CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
EdgesToViz.Col Class Reference

Public Member Functions

def __init__
 
def next
 

Detailed Description

Definition at line 7 of file EdgesToViz.py.

Constructor & Destructor Documentation

def EdgesToViz.Col.__init__ (   me)

Definition at line 8 of file EdgesToViz.py.

8 
9  def __init__(me):
10  me.h=0.
11  me.s=.5
12  me.b=.5

Member Function Documentation

def EdgesToViz.Col.next (   me)

Definition at line 13 of file EdgesToViz.py.

Referenced by BeautifulSoup.PageElement._invert().

13 
14  def next(me):
15  rc = "\"%f,%f,%f\""%(me.h,me.s,me.b)
16  me.h += .1
17  if me.h > 1.:
18  me.h=0.
19  me.s += .1
20  if me.s> 1.:
21  me.h=0.
22  me.s = .5
23  me.b += .1
24  return rc