PrimitiveBuilder4.AddLine

AddLine(IVertexBuilder, IVertexBuilder)

Adds a line.

public (int A, int B) AddLine(IVertexBuilder a, IVertexBuilder b)
ParameterTypeDescription
aIVertexBuilderFirst end of the line.
bIVertexBuilderLast end of the line.

Return Value

The indices of the vertices, or, in case the line is degenerated, (-1,-1).

See Also


AddLine(VertexBuilder<TvG, TvM, TvS>, VertexBuilder<TvG, TvM, TvS>)

Adds a line.

public virtual (int A, int B) AddLine(VertexBuilder<TvG, TvM, TvS> a, 
    VertexBuilder<TvG, TvM, TvS> b)
ParameterTypeDescription
aVertexBuilder`3First corner of the line.
bVertexBuilder`3Second corner of the line.

Return Value

The indices of the vertices, or, in case the line is degenerated, (-1,-1).

See Also