| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Shape --+
|
Line
A line.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Properties | |
|
p1 The first point. |
|
|
p2 The second point. |
|
|
area The area of a line is always zero. |
|
|
centroid The center point of the line. |
|
|
bounding_box The bounding box of the shape. |
|
|
Inherited from |
|
| Method Details |
Initialize a line from two points.
|
repr(x)
|
Get a transformed copy of the shape.
|
| Property Details |
p1The first point.
|
p2The second point.
|
areaThe area of a line is always zero.
|
centroidThe center point of the line.
|
bounding_boxThe bounding box of the shape.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun May 30 14:22:47 2010 | http://epydoc.sourceforge.net |