contourSegment
fun contourSegment(linearContour0: List<Vector2>, linearContour1: List<Vector2>, frame0: Matrix44, frame1: Matrix44, writer: VertexWriter)(source)
Writes quads to writer creating a surface that connects linearContour0 with linearContour1. The positions and orientations of the two contours are defined by the frame0 and frame1 matrices.
Parameters
linearContour0
the first cross-section
linearContour1
the second cross-section
frame0
a transformation matrix with the pose of linearContour0
frame1
a transformation matrix with the pose of linearContour1
writer
the vertex writer function
fun contourSegment(linearContour0: List<Vector2>, linearContour1: List<Vector2>, frame0: Matrix44, frame1: Matrix44, v0: Double, v1: Double, writer: VertexWriter)(source)
Contour segment
Parameters
linearContour0
linearContour1
frame0
frame1
v0
v1
writer