mathmaker  0.6(alpha)
Public Member Functions | Properties
core.base_geometry.Segment Class Reference
Inheritance diagram for core.base_geometry.Segment:
core.base.Drawable core.base.NamedObject core.base.Clonable

List of all members.

Public Member Functions

def __init__
 Constructor.
def get_points
 Returns the two points.
def get_label
 Returns the label of the Segment.
def get_length
 Returns the length of the Segment.
def get_length_name
 Returns the length name of the Segment.
def get_mark
 Returns the mark of the Segment.
def set_label
 Sets the label of the Segment.
def set_mark
 Sets the mark of the Segment.
def set_point
 Sets the points of the Segment (is this useful at all ?)

Properties

 points
 label
 length
 length_name
 mark

Detailed Description

Definition at line 251 of file base_geometry.py.


Constructor & Destructor Documentation

def core.base_geometry.Segment.__init__ (   self,
  arg,
  options 
)

Property Documentation

core::base_geometry.Segment::label [static]
Initial value:
property(get_label,
                     doc = "Label of the Segment")

Definition at line 358 of file base_geometry.py.

core::base_geometry.Segment::length [static]
Initial value:
property(get_length,
                      doc = "Name of the Segment")

Definition at line 361 of file base_geometry.py.

core::base_geometry.Segment::length_name [static]
Initial value:
property(get_length_name,
                           doc = "Length's name of the Segment")

Definition at line 364 of file base_geometry.py.

core::base_geometry.Segment::mark [static]
Initial value:
property(get_mark,
                    doc = "Mark of the Segment")

Definition at line 367 of file base_geometry.py.

core::base_geometry.Segment::points [static]
Initial value:
property(get_points,
                      doc = "The couple of points ending the segment")

Definition at line 351 of file base_geometry.py.

Referenced by core.base_geometry.Segment.__init__(), core.base_geometry.Segment.get_length(), and core.base_geometry.Segment.get_length_name().


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