isTrapezoid property
Whether this is a trapezoid (trapezium)
At least one pair of opposite sides is parallel.
Implementation
bool get isTrapezoid {
return AB.isParallelTo(CD) || BC.isParallelTo(DA);
}
Whether this is a trapezoid (trapezium)
At least one pair of opposite sides is parallel.
bool get isTrapezoid {
return AB.isParallelTo(CD) || BC.isParallelTo(DA);
}