C# 클래스 CSharpGL.ArrayHelper

Helper class for array.
파일 보기 프로젝트 열기: bitzhuwei/CSharpGL

공개 메소드들

메소드 설명
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