C# Class CSharpGL.ArrayHelper

Helper class for array.
Afficher le fichier Open project: bitzhuwei/CSharpGL

Méthodes publiques

Méthode Description
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; ...'

Method Details

PrintArray() public static méthode

Print elements in format 'element, element, element, ...'
public static PrintArray ( this array, string seperator = " " ) : string
array this
seperator string
Résultat string

PrintVectors() public static méthode

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
Résultat string