phystricks
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
phystricks.src.MarkGraph.MarkGraph Class Reference

The marks are not taken into account in the computation of the mathematical bounding box. More...

Inheritance diagram for phystricks.src.MarkGraph.MarkGraph:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.MarkGraph.MarkGraph:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, graph, dist, angle, text, mark_point=None, central_point=None, position=None, pspict=None)
 
def central_point (self, pspict=None)
 
def tikz_code (self, pspict=None)
 
def latex_code (self, pspict, language=None)
 
- 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

 take_math_BB
 
 mark_point
 
 graph
 
 parent
 
 angle
 
 dist
 
 text
 
 position
 
 pspict
 
 x
 
 y
 
- 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 _math_bounding_box (self, pspict=None)
 
def _bounding_box (self, pspict=None)
 

Private Attributes

 _central_point
 

Detailed Description

The marks are not taken into account in the computation of the mathematical bounding box.

In particular not for the computations of the axes size. See also AxesGraph.add_bounding_box

Constructor & Destructor Documentation

def phystricks.src.MarkGraph.MarkGraph.__init__ (   self,
  graph,
  dist,
  angle,
  text,
  mark_point = None,
  central_point = None,
  position = None,
  pspict = None 
)

Member Function Documentation

def phystricks.src.MarkGraph.MarkGraph._bounding_box (   self,
  pspict = None 
)
private
def phystricks.src.MarkGraph.MarkGraph._math_bounding_box (   self,
  pspict = None 
)
private
def phystricks.src.MarkGraph.MarkGraph.central_point (   self,
  pspict = None 
)
Return the central point of the mark, that is the point where
the mark arrives.

The central point of the mark is computed from self.graph.mark_point()
Thus an object that wants to accept a mark needs a method 
mark_point that returns the point on which the mark will be put.
def phystricks.src.MarkGraph.MarkGraph.latex_code (   self,
  pspict,
  language = None 
)
def phystricks.src.MarkGraph.MarkGraph.tikz_code (   self,
  pspict = None 
)

Member Data Documentation

phystricks.src.MarkGraph.MarkGraph._central_point
private
phystricks.src.MarkGraph.MarkGraph.angle
phystricks.src.MarkGraph.MarkGraph.dist
phystricks.src.MarkGraph.MarkGraph.graph
phystricks.src.MarkGraph.MarkGraph.mark_point
phystricks.src.MarkGraph.MarkGraph.parent
phystricks.src.MarkGraph.MarkGraph.position
phystricks.src.MarkGraph.MarkGraph.pspict
phystricks.src.MarkGraph.MarkGraph.take_math_BB
phystricks.src.MarkGraph.MarkGraph.text
phystricks.src.MarkGraph.MarkGraph.x
phystricks.src.MarkGraph.MarkGraph.y

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