convexTo method

bool convexTo(
  1. Cubic next
)

Implementation

bool convexTo(Cubic next) {
  final prevVertex = Point(anchor0X, anchor0Y);
  final currVertex = Point(anchor1X, anchor1Y);
  final nextVertex = Point(next.anchor1X, next.anchor1Y);
  return convex(prevVertex, currVertex, nextVertex);
}