C# 클래스 Ocronet.Dynamic.Rect

파일 보기 프로젝트 열기: nickun/OCRonet

공개 프로퍼티들

프로퍼티 타입 설명
x0 int

공개 메소드들

메소드 설명
Area ( ) : int
Aspect ( ) : float
Centricity ( Rect other ) : float
Contains ( Point p ) : bool
Contains ( int x, int y ) : bool
CreateEmpty ( ) : Rect
DilatedBy ( int dx0, int dy0, int dx1, int dy1 ) : Rect

Origin name: dilated_by

Empty ( ) : bool
FractionCoveredBy ( Rect other ) : float

Origin name: fraction_covered_by

Grow ( int offset ) : Rect
Height ( ) : int
Include ( Rect other ) : void
Include ( int x, int y ) : void
Includes ( Rect other ) : bool
Includes ( float x, float y ) : bool
Includes ( int x, int y ) : bool
Inclusion ( Rect other ) : Rect
Intersect ( Rect other ) : void
Intersection ( Rect other ) : Rect
Overlaps ( Rect other ) : bool
PadBy ( int dx, int dy ) : void

Origin name: pad_by

Rect ( Rect r ) : System
Rect ( int x0, int y0, int x1, int y1 ) : System
ShiftBy ( int dx, int dy ) : void

Origin name: shift_by

ToString ( ) : string
Width ( ) : int
Xcenter ( ) : int
Ycenter ( ) : int

비공개 메소드들

메소드 설명
ASSERT ( bool cond, string msg = "" ) : void
heaviside ( int x ) : int

메소드 상세

Area() 공개 메소드

public Area ( ) : int
리턴 int

Aspect() 공개 메소드

public Aspect ( ) : float
리턴 float

Centricity() 공개 메소드

public Centricity ( Rect other ) : float
other Rect
리턴 float

Contains() 공개 메소드

public Contains ( Point p ) : bool
p Point
리턴 bool

Contains() 공개 메소드

public Contains ( int x, int y ) : bool
x int
y int
리턴 bool

CreateEmpty() 공개 정적인 메소드

public static CreateEmpty ( ) : Rect
리턴 Rect

DilatedBy() 공개 메소드

Origin name: dilated_by
public DilatedBy ( int dx0, int dy0, int dx1, int dy1 ) : Rect
dx0 int
dy0 int
dx1 int
dy1 int
리턴 Rect

Empty() 공개 메소드

public Empty ( ) : bool
리턴 bool

FractionCoveredBy() 공개 메소드

Origin name: fraction_covered_by
public FractionCoveredBy ( Rect other ) : float
other Rect
리턴 float

Grow() 공개 메소드

public Grow ( int offset ) : Rect
offset int
리턴 Rect

Height() 공개 메소드

public Height ( ) : int
리턴 int

Include() 공개 메소드

public Include ( Rect other ) : void
other Rect
리턴 void

Include() 공개 메소드

public Include ( int x, int y ) : void
x int
y int
리턴 void

Includes() 공개 메소드

public Includes ( Rect other ) : bool
other Rect
리턴 bool

Includes() 공개 메소드

public Includes ( float x, float y ) : bool
x float
y float
리턴 bool

Includes() 공개 메소드

public Includes ( int x, int y ) : bool
x int
y int
리턴 bool

Inclusion() 공개 메소드

public Inclusion ( Rect other ) : Rect
other Rect
리턴 Rect

Intersect() 공개 메소드

public Intersect ( Rect other ) : void
other Rect
리턴 void

Intersection() 공개 메소드

public Intersection ( Rect other ) : Rect
other Rect
리턴 Rect

Overlaps() 공개 메소드

public Overlaps ( Rect other ) : bool
other Rect
리턴 bool

PadBy() 공개 메소드

Origin name: pad_by
public PadBy ( int dx, int dy ) : void
dx int
dy int
리턴 void

Rect() 공개 메소드

public Rect ( Rect r ) : System
r Rect
리턴 System

Rect() 공개 메소드

public Rect ( int x0, int y0, int x1, int y1 ) : System
x0 int
y0 int
x1 int
y1 int
리턴 System

ShiftBy() 공개 메소드

Origin name: shift_by
public ShiftBy ( int dx, int dy ) : void
dx int
dy int
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Width() 공개 메소드

public Width ( ) : int
리턴 int

Xcenter() 공개 메소드

public Xcenter ( ) : int
리턴 int

Ycenter() 공개 메소드

public Ycenter ( ) : int
리턴 int

프로퍼티 상세

x0 공개적으로 프로퍼티

public int x0
리턴 int