C# 클래스 SharpMath.Hammersley

Hammersley sequence generator (ugly) source code from http://people.sc.fsu.edu/~jburkardt/cpp_src/hammersley/hammersley.html
파일 보기 프로젝트 열기: Patapom/GodComplex 1 사용 예제들

공개 메소드들

메소드 설명
BuildSequence ( int _Count, int _Dimensions ) : ].double[

Computes N elements of a leaped Hammersley subsequence

MapSequenceToSphere ( double _Sequence ) : SharpMath.float3[]

Maps the points homogeneously onto the surface of a unit sphere

MapSequenceToSphere ( double _Sequence, double _MaxTheta ) : SharpMath.float3[]

보호된 메소드들

메소드 설명
BuildSequence ( int _Count, int _Dimensions, int _Seed, int _Leap, int _Base, double _Result ) : void

Builds the actual sequence

Prime ( int _PrimeIndex ) : int

메소드 상세

BuildSequence() 공개 메소드

Computes N elements of a leaped Hammersley subsequence
public BuildSequence ( int _Count, int _Dimensions ) : ].double[
_Count int The amount of points to generate
_Dimensions int The dimensions of the points to generate
리턴 ].double[

BuildSequence() 보호된 메소드

Builds the actual sequence
protected BuildSequence ( int _Count, int _Dimensions, int _Seed, int _Leap, int _Base, double _Result ) : void
_Count int
_Dimensions int
_Seed int
_Leap int
_Base int
_Result double
리턴 void

MapSequenceToSphere() 공개 메소드

Maps the points homogeneously onto the surface of a unit sphere
public MapSequenceToSphere ( double _Sequence ) : SharpMath.float3[]
_Sequence double A 2D sequence previously generated by the BuildSequence() method
리턴 SharpMath.float3[]

MapSequenceToSphere() 공개 메소드

public MapSequenceToSphere ( double _Sequence, double _MaxTheta ) : SharpMath.float3[]
_Sequence double
_MaxTheta double
리턴 SharpMath.float3[]

Prime() 보호된 메소드

protected Prime ( int _PrimeIndex ) : int
_PrimeIndex int
리턴 int