getEdgeLength method

double getEdgeLength()

获取边的长度

Implementation

double getEdgeLength() {
  return size * 2.0;
}