PathGenerator
- class cee.utils.PathGenerator()
 Helper class to generate vertices for paths
Methods
Methods
generateVerticesForCircle
- cee.utils.PathGenerator.generateVerticesForCircle(center, normal, radius, numSegments)
 Generates vertices to draw a circle
- Arguments
 center (
cee.Vec3) –normal (
cee.Vec3) –radius (
number) –numSegments (
number) –
- Return type
 [number]
generateVerticesForCircleThrough3Points
- cee.utils.PathGenerator.generateVerticesForCircleThrough3Points(p1, p2, p3, numSegments)
 Generates vertices to draw a circle passing through the given 3 points
- Arguments
 p1 (
cee.Vec3) –p2 (
cee.Vec3) –p3 (
cee.Vec3) –numSegments (
number) –
- Return type
 [number]
generateVerticesForCircularSegmentBetween2Lines
- cee.utils.PathGenerator.generateVerticesForCircularSegmentBetween2Lines(center, endPoint1, endPoint2, radius, numSegments)
 Generates vertices to draw a circular segment between the lines <center, endPoint1> and <center, endPoint2>
- Arguments
 center (
cee.Vec3) –endPoint1 (
cee.Vec3) –endPoint2 (
cee.Vec3) –radius (
number) –numSegments (
number) –
- Return type
 [number]
generateVerticesForPath
- cee.utils.PathGenerator.generateVerticesForPath(points)
 Generates vertices to draw a path connecting the given points
- Arguments
 points (
[cee.Vec3]) –
- Return type
 [number]