/// <summary>
 /// Creates a new instance of <see cref="ChunkBetweenIntersections"/> with values for its public fields.
 /// </summary>
 /// <param name="extrudedPoints">The extruded points that lie in between the intersection endpoints, defining the line segments of the chunk.</param>
 /// <param name="startIntersection">The intersection point serving as the start point of the chunk.</param>
 /// <param name="endIntersection">The extruded points that lie in between the intersection endpoints, defining the line segments of the chunk.</param>
 public ChunkBetweenIntersections(List <ExtrudedPointUV> extrudedPoints, IntersectionPoint startIntersection, IntersectionPoint endIntersection)
 {
     SegmentwiseExtrudedPointList = new SegmentwiseExtrudedPointListUV(extrudedPoints);
     ExtrudedPoints    = extrudedPoints;
     StartIntersection = startIntersection;
     EndIntersection   = endIntersection;
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new instance of <see cref="Vector2WithUV"/> with <see cref="Point"/> and <see cref="UV"/> values from a <paramref name="intersectionPoint"/>.
 /// </summary>
 /// <param name="intersectionPoint">The <see cref="IntersectionPoint"/> from which to take <see cref="Point"/> and <see cref="UV"/> values.</param>
 internal Vector2WithUV(IntersectionPoint intersectionPoint) : this(intersectionPoint.Point, intersectionPoint.UV)
 {
 }