| |
- addXIntersections(loop, solidIndex, xIntersectionList, y)
- Add the x intersections for a loop.
- addXIntersectionsFromLoops(loops, solidIndex, xIntersectionList, y)
- Add the x intersections for the loops.
- compareSolidXByX(solidXFirst, solidXSecond)
- getAngleAroundZAxisDifference(subtractFromVec3, subtractVec3)
- Get the angle around the Z axis difference between a pair of vec3s.
Keyword arguments:
subtractFromVec3 -- vec3 whose angle will be subtracted from
subtractVec3 -- vec3 whose angle will be subtracted
- getAroundLoop(begin, end, loop)
- Get an arc around a loop.
- getAwayLoop(loop, radius)
- Get a loop with only the points that are far enough away from each other.
- getDistanceSquaredToPlaneSegment(segmentBegin, segmentEnd, point)
- Get the distance squared from a point to the x & y components of a segment.
- getHalfSimpifiedLoop(loop, radius, remainder)
- Get the loop with half of the points inside the channel removed.
- getNearestDistanceSquaredIndex(point, loop)
- Get the distance squared to the nearest segment of the loop and index of that segment.
- getPathLength(path)
- Get the length of a path ( an open polyline ).
- getPathRoundZAxisByPlaneAngle(planeAngle, path)
- Get Vec3 array rotated by a plane angle.
Keyword arguments:
planeAngle - plane angle of the rotation
path - Vec3 array whose rotation will be returned
- getPlaneDot(vec3First, vec3Second)
- Get the dot product of the x and y components of a pair of vec3s.
- getPlaneDotPlusOne(vec3First, vec3Second)
- Get the dot product plus one of the x and y components of a pair of vec3s.
- getPointMaximum(firstPoint, secondPoint)
- Get a point with each component the maximum of the respective components of a pair of vec3s.
- getPointMinimum(firstPoint, secondPoint)
- Get a point with each component the minimum of the respective components of a pair of vec3s.
- getPointPlusSegmentWithLength(length, point, segment)
- Get point plus a segment scaled to a given length.
- getPolar(angle, radius)
- Get polar complex from counterclockwise angle from 1, 0 and radius.
Keyword arguments:
angle -- counterclockwise angle from 1, 0
radius -- radius of complex
- getPolygonArea(polygon)
- Get the xy plane area of a polygon.
- getPolygonLength(polygon)
- Get the length of a polygon perimeter.
- getRotatedClockwiseQuarterAroundZAxis(vector3)
- Get vector3 rotated a quarter clockwise turn around Z axis.
- getRotatedWiddershinsQuarterAroundZAxis(vector3)
- Get vec3 rotated a quarter widdershins turn around Z axis.
- getRoundXAxis(angle, vector3)
- Get vec3 rotated around X axis from widdershins angle and vec3.
Keyword arguments:
angle - widdershins angle from 1, 0
vector3 - vec3 whose rotation will be returned
- getRoundYAxis(angle, vector3)
- Get vec3 rotated around Y axis from widdershins angle and vec3.
Keyword arguments:
angle - widdershins angle from 1, 0
vector3 - vec3 whose rotation will be returned
- getRoundZAxis(angle, vector3)
- Get vec3 rotated around Z axis from widdershins angle and vec3.
Keyword arguments:
angle - widdershins angle from 1, 0
vector3 - vec3 whose rotation will be returned
- getRoundZAxisByPlaneAngle(planeAngle, vector3)
- Get vec3 rotated by a plane angle.
Keyword arguments:
planeAngle - plane angle of the rotation
vector3 - vec3 whose rotation will be returned
- getRoundedPoint(point)
- Get point with each component rounded.
- getRoundedToThreePlaces(number)
- Get value rounded to three places as string.
- getSimplifiedLoop(loop, radius)
- Get loop with points inside the channel removed.
- getWiddershinsDot(vec3First, vec3Second)
- Get the magintude of the positive dot product plus one of the x and y components of a pair of vec3s, with the reversed sign of the cross product.
- getXIntersection(firstPoint, secondPoint, y)
- Get where the line crosses y.
- getZComponentCrossProduct(vec3First, vec3Second)
- Get z component cross product of a pair of vec3s.
- isClose(loop, pointIndex, radius)
- Determine if the the point close to another point on the loop.
- isLineCrossingInsideXSegment(segmentFirstX, segmentSecondX, vector3First, vector3Second, y)
- Determine if the line is crossing inside the x segment.
- isSegmentCompletelyInX(segment, xFirst, xSecond)
- Determine if the segment overlaps within x.
- isWiddershins(polygon)
- Determines if the polygon goes round in the widdershins direction.
- isWithinChannel(pointIndex, loop, radius)
- Determine if the the point is within the channel between two adjacent points.
|