Menu

Angle

Nicolas Hainaux

An Angle is defined by three Points forming two Rays (being its sides).

Possible args for __init__():

  • (Point, Point, Point)

The Point in the middle is the Angle's vertex.

Fields:
point0, point1, point2: (read-only) the three Points that were used to create the Angle
vertex: (read-only) synonym of point1
measure: (read-only) the real measure of the Angle, in degrees
label: anything that can be displayed in the angle's 'corner', like a measure, a name...
label_display_angle: is used to set the angle of the label's position
mark: the mark of the Angle is usually used to show which angles have the same measure (like in an isosceles Triangle). Check AVAILABLE_ANGLE_MARKS at the beginning of base_geometry.py to know which marks can be used.

Debugging info: no dbg_str() method, so far

Check Angle's complete doc

Back


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.