phystricks
Public Member Functions | Public Attributes | Private Member Functions | List of all members
phystricks.src.RectangleGraph.RectangleGraph Class Reference
Inheritance diagram for phystricks.src.RectangleGraph.RectangleGraph:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.RectangleGraph.RectangleGraph:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, NW, SE)
 
def polygon (self)
 
def first_diagonal (self)
 
def second_diagonal (self)
 
def center (self)
 
def default_associated_graph_class (self)
 

Public Attributes

 NW
 
 SE
 
 SW
 
 NE
 
 mx
 
 Mx
 
 my
 
 My
 
 rectangle
 
 segment_N
 
 segment_S
 
 segment_E
 
 segment_W
 

Private Member Functions

def _segment (self, side)
 

Detailed Description

The parameters of the four lines are by default the same, but they can be adapted separately.

graph_N returns the north side as a phystricks.Segment object

Constructor & Destructor Documentation

def phystricks.src.RectangleGraph.RectangleGraph.__init__ (   self,
  NW,
  SE 
)

Member Function Documentation

def phystricks.src.RectangleGraph.RectangleGraph._segment (   self,
  side 
)
private
def phystricks.src.RectangleGraph.RectangleGraph.center (   self)
def phystricks.src.RectangleGraph.RectangleGraph.default_associated_graph_class (   self)
Return the class which is the Graph associated type
def phystricks.src.RectangleGraph.RectangleGraph.first_diagonal (   self)
def phystricks.src.RectangleGraph.RectangleGraph.polygon (   self)
def phystricks.src.RectangleGraph.RectangleGraph.second_diagonal (   self)

Member Data Documentation

phystricks.src.RectangleGraph.RectangleGraph.mx
phystricks.src.RectangleGraph.RectangleGraph.Mx
phystricks.src.RectangleGraph.RectangleGraph.my
phystricks.src.RectangleGraph.RectangleGraph.My
phystricks.src.RectangleGraph.RectangleGraph.NE
phystricks.src.RectangleGraph.RectangleGraph.NW
phystricks.src.RectangleGraph.RectangleGraph.rectangle
phystricks.src.RectangleGraph.RectangleGraph.SE
phystricks.src.RectangleGraph.RectangleGraph.segment_E
phystricks.src.RectangleGraph.RectangleGraph.segment_N
phystricks.src.RectangleGraph.RectangleGraph.segment_S
phystricks.src.RectangleGraph.RectangleGraph.segment_W
phystricks.src.RectangleGraph.RectangleGraph.SW

The documentation for this class was generated from the following file: