PathGenerator
-
class
cee.utils.PathGenerator() Helper class to generate vertices for paths
Constructors
-
cee.utils.PathGenerator.constructor() - PathGenerator():
PathGeneratorReturns:
PathGenerator
Methods
-
static cee.utils.PathGenerator.generateVerticesForCircle() static
Generates vertices to draw a circle.
Parameters
Returns: number[]
-
static cee.utils.PathGenerator.generateVerticesForCircleThrough3Points() static
Generates vertices to draw a circle passing through the given 3 points. Returns null when the points (p1, p2, p3) do not specify a circle, e.g. they lie on a straight line.
Parameters
Returns: number[]
-
static cee.utils.PathGenerator.generateVerticesForCircularSegmentBetween2Lines() static
Generates vertices to draw a circular segment between the lines <center, endPoint1> and <center, endPoint2>. Returns null when the points (center, endpoint1, endpoint2) do not specify a circle, e.g. they lie on a straight line.
Parameters
Returns: number[]