#include <structures.h>
Public Member Functions | |
component | deformation () |
Computes the relative deformation of this edge. | |
bool | operator== (const edge &e) |
Equality operator. | |
Public Attributes | |
int | start |
The index of the start vertex of this edge. | |
int | end |
The index of the end vertex of this edge. | |
bool | isRoad |
True iff this edge belongs to the horizontal end-to-end road. | |
component | initialLength |
The initial length. | |
component | length |
The current length. | |
bool | isBroken |
True iff this edge is broken. |
|
Computes the relative deformation of this edge. edge::initialLength and edge::length should be set properly before any call to this method.
|
|
Equality operator.
|