C# 클래스 Vertesaur.Periodic.PeriodicOperations

Provides operations that can be performed on values and ranges that have a periodic nature (wrap around).
파일 보기 프로젝트 열기: aarondandy/vertesaur 1 사용 예제들

공개 메소드들

메소드 설명
PeriodicOperations ( double periodStart, double periodLength ) : System

Constructs a new periodic operator from the given start and with the given length.

비공개 메소드들

메소드 설명
CalculateMidpoint ( double rangeStart, double rangeEnd ) : double
CodeContractInvariants ( ) : void
Contains ( double rangeStart, double rangeEnd, double testValue ) : bool
Contains ( double startA, double endA, double startB, double endB ) : bool
Distance ( double a, double b ) : double
Distance ( double rangeStart, double rangeEnd, double singleValue ) : double
Fix ( double value ) : double
FixExcludingEnd ( double value ) : double
Intersects ( double rangeStart, double rangeEnd, double testValue ) : bool
Intersects ( double startA, double endA, double startB, double endB ) : bool
Magnitude ( double rangeStart, double rangeEnd ) : double

메소드 상세

PeriodicOperations() 공개 메소드

Constructs a new periodic operator from the given start and with the given length.
public PeriodicOperations ( double periodStart, double periodLength ) : System
periodStart double The start value of the period.
periodLength double The length of the range.
리턴 System