isParallelogram property
Whether this is a parallelogram
Both pairs of opposite sides are parallel.
Implementation
bool get isParallelogram {
return AB.isParallelTo(CD) && BC.isParallelTo(DA);
}
Whether this is a parallelogram
Both pairs of opposite sides are parallel.
bool get isParallelogram {
return AB.isParallelTo(CD) && BC.isParallelTo(DA);
}