getList method

List<double> getList()

Implementation

List<double> getList() {
  return [x1, y1, x2, y2, x3, y3];
}