C# Класс CSharpGL.ArrayHelper

Helper class for array.
Показать файл Открыть проект

Открытые методы

Метод Описание
PrintArray ( this array, string seperator = " " ) : string

Print elements in format 'element, element, element, ...'

PrintVectors ( this array, int components = 3, string componentSeparator = ",", string vectorSeparator = "\r\n" ) : string

Print elements in format 'x,y,z; x,y,z; ...'

Описание методов

PrintArray() публичный статический Метод

Print elements in format 'element, element, element, ...'
public static PrintArray ( this array, string seperator = " " ) : string
array this
seperator string
Результат string

PrintVectors() публичный статический Метод

Print elements in format 'x,y,z; x,y,z; ...'
public static PrintVectors ( this array, int components = 3, string componentSeparator = ",", string vectorSeparator = "\r\n" ) : string
array this
components int 2, 3, or 4.
componentSeparator string
vectorSeparator string
Результат string