|
def | __init__ (self, A, O, B, r=None) |
|
def | visual_angleIF (self, pspict) |
|
def | circle (self, visual=False, pspict=None) |
|
def | measure (self) |
|
def | graph (self) |
|
def | set_mark_angle (self, theta) |
|
def | advised_mark_angle (self, pspict) |
|
def | bisector (self, pspict) |
|
def | put_arrow (self, pspict=None) |
|
def | mark_point (self, pspict=None) |
|
def | get_mark (self, dist=None, angle=None, text=None, mark_point=None, added_angle=None, position=None, pspict=None, visual_work=True) |
| The mark on an angle is determined in the following way. More...
|
|
def | action_on_pspict (self, pspict) |
|
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) |
|
self.mark_angle is the angle at which self.mark_point will be placed. By default it is at the middle.
If you want to change it, use
self.set_mark_angle(x).
It will set both the mark_angle and the advised_mark_angle to to x in the same time.
We have to make a choice between the two angles that can be deduced from 3 points. Here the choice is
the angle from the first given point to the second one.
def phystricks.src.AngleGraph.AngleGraph.get_mark |
( |
|
self, |
|
|
|
dist = None , |
|
|
|
angle = None , |
|
|
|
text = None , |
|
|
|
mark_point = None , |
|
|
|
added_angle = None , |
|
|
|
position = None , |
|
|
|
pspict = None , |
|
|
|
visual_work = True |
|
) |
| |
The mark on an angle is determined in the following way.
A vector 'v' is computed in such a way that placing the center of the mark at self.O+v makes the mark being just in the angle
Then the center of the mark is placed at self.mark_point+v
Thus the mark should be ok.
If you give the optional argument "dist", the vector 'v' is replaced by v.fix_size(dist) In this case you have to fix a correct value of 'dist' by hand.
- Parameters
-
visual_work | if True, we first make all the computation on the angle as it will be drawn (xunit,yunit) and the bring the result back. If false, we make as there are no dilatations issues. The point |