IList<Object> ConstructionLine.CreateStraightLines(IEnumerable<Point> pointCollection, IEnumerable<IEnumerable<Object>> connectionCollection)

Create straight line edges by connecting the provided points via specified connections.

Parameters

  • pointCollection
    Type: IEnumerable<Point>
    A collection of Point.
  • connectionCollection
    Type: IEnumerable<IEnumerable<Object>>
    A collection of start and end values, as indices into `pointCollection`, for each edge to be created.

Return Value

Type: IList<Object>
A list of the newly created edges.