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

Public Member Functions

def __init__ (self, center, radius, a, b)
 
def circular_sector (self)
 
def action_on_pspict (self, pspict)
 
- Public Member Functions inherited from phystricks.src.ObjectGraph.ObjectGraph
def __init__ (self, obj)
 
def draw_edges (self)
 
def wave (self, dx, dy)
 
def get_arrow (self, llam)
 
def get_mark (self, dist, angle=None, text=None, mark_point=None, added_angle=None, position=None, pspict=None)
 
def put_mark (self, dist=None, angle=None, text="", mark_point=None, added_angle=None, position=None, pspict=None, pspicts=None)
 put a mark on an object More...
 
def add_option (self, opt)
 
def get_option (opt)
 
def remove_option (opt)
 
def merge_options (self, graph)
 
def conclude_params (self)
 
def params (self, language, refute=[])
 
def bracketAttributesText (self, language, refute=[])
 
def action_on_pspict (self, pspict)
 
def conclude (self, pspict)
 
def bounding_box (self, pspict=None)
 
def math_bounding_box (self, pspict)
 
def latex_code (self, pspict, language=None)
 

Public Attributes

 center
 
 radius
 
 numerator
 
 denominator
 
 circle
 
- Public Attributes inherited from phystricks.src.ObjectGraph.ObjectGraph
 obj
 
 parameters
 
 wavy
 
 waviness
 
 options
 
 draw_bounding_box
 
 already_computed_BB
 
 already_computed_math_BB
 
 record_add_to_bb
 
 separator_name
 
 in_math_bounding_box
 
 in_bounding_box
 
 added_objects
 
 take_BB
 
 take_math_BB
 
 mark
 
 marque
 

Private Member Functions

def _bounding_box (self, pspict)
 

Private Attributes

 _circular_sector
 

Constructor & Destructor Documentation

def phystricks.src.MiscGraph.FractionPieDiagramGraph.__init__ (   self,
  center,
  radius,
  a,
  b 
)
The pie diagram for the fraction 'a/b' inside the circle of given center and radius.

2/4 and 1/2 are not treated in the same way because 2/4 divides the pie into 4 parts (and fills 2) while 1/2 divides into 2 parts (and fills 1).

Member Function Documentation

def phystricks.src.MiscGraph.FractionPieDiagramGraph._bounding_box (   self,
  pspict 
)
private
def phystricks.src.MiscGraph.FractionPieDiagramGraph.action_on_pspict (   self,
  pspict 
)
def phystricks.src.MiscGraph.FractionPieDiagramGraph.circular_sector (   self)

Member Data Documentation

phystricks.src.MiscGraph.FractionPieDiagramGraph._circular_sector
private
phystricks.src.MiscGraph.FractionPieDiagramGraph.center
phystricks.src.MiscGraph.FractionPieDiagramGraph.circle
phystricks.src.MiscGraph.FractionPieDiagramGraph.denominator
phystricks.src.MiscGraph.FractionPieDiagramGraph.numerator
phystricks.src.MiscGraph.FractionPieDiagramGraph.radius

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