C# Class touchvg.core.Box2d

Inheritance: global::System.IDisposable
Datei anzeigen Open project: rhcad/touchvg-v0.6 Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Box2d ( ) : System
Box2d ( Box2d src ) : System
Box2d ( Box2d src, bool normal ) : System
Box2d ( Point2d pnt1, Point2d pnt2 ) : System
Box2d ( Point2d pnt1, Point2d pnt2, Point2d pnt3, Point2d pnt4 ) : System
Box2d ( Point2d center, float width, float height ) : System
Box2d ( RECT_2D rc ) : System
Box2d ( RECT_2D rc, bool normal ) : System
Box2d ( float width, float height ) : System
Box2d ( float l, float t, float r, float b ) : System
Box2d ( float l, float t, float r, float b, bool normal ) : System
Box2d ( int count, Point2d points ) : System
Box2d ( int l, int t, int r, int b ) : System
Box2d ( int l, int t, int r, int b, bool normal ) : System
Dispose ( ) : void
center ( ) : Point2d
contains ( Box2d box ) : bool
contains ( Box2d box, Tol tol ) : bool
contains ( Point2d pt ) : bool
contains ( Point2d pt, Tol tol ) : bool
deflate ( Box2d box ) : Box2d
deflate ( Vector2d vec ) : Box2d
deflate ( float d ) : Box2d
deflate ( float x, float y ) : Box2d
deflate ( float l, float b, float r, float t ) : Box2d
empty ( ) : Box2d
get ( RECT_2D rc ) : RECT_2D
get ( Point2d p1, Point2d p2 ) : void
height ( ) : float
inflate ( Box2d box ) : Box2d
inflate ( Vector2d vec ) : Box2d
inflate ( float d ) : Box2d
inflate ( float x, float y ) : Box2d
inflate ( float l, float b, float r, float t ) : Box2d
intersectWith ( Box2d box ) : Box2d
intersectWith ( Box2d r1, Box2d r2 ) : Box2d
isEmpty ( ) : bool
isEmpty ( Tol tol ) : bool
isEmpty ( Tol tol, bool useOr ) : bool
isEmptyMinus ( ) : bool
isEmptyMinus ( Tol tol ) : bool
isEqualTo ( Box2d box ) : bool
isEqualTo ( Box2d box, Tol tol ) : bool
isIntersect ( Box2d box ) : bool
isNormalized ( ) : bool
isNull ( ) : bool
kIdentity ( ) : Box2d
leftBottom ( ) : Point2d
leftTop ( ) : Point2d
normalize ( ) : Box2d
offset ( Box2d box ) : Box2d
offset ( Vector2d vec ) : Box2d
offset ( float x, float y ) : Box2d
rightBottom ( ) : Point2d
rightTop ( ) : Point2d
scaleBy ( float sx ) : Box2d
scaleBy ( float sx, float sy ) : Box2d
set ( Box2d src ) : Box2d
set ( Box2d src, bool normal ) : Box2d
set ( Point2d p1, Point2d p2 ) : Box2d
set ( Point2d p1, Point2d p2, Point2d p3, Point2d p4 ) : Box2d
set ( Point2d center, float width, float height ) : Box2d
set ( float x1, float y1, float x2, float y2 ) : Box2d
set ( int count, Point2d points ) : Box2d
size ( ) : Vector2d
swapTopBottom ( ) : Box2d
unionWith ( Box2d box ) : Box2d
unionWith ( Box2d r1, Box2d r2 ) : Box2d
unionWith ( Point2d pt ) : Box2d
unionWith ( float x, float y ) : Box2d
width ( ) : float

Private Methods

Method Description
Box2d ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( Box2d obj ) : HandleRef

Method Details

Box2d() public method

public Box2d ( ) : System
return System

Box2d() public method

public Box2d ( Box2d src ) : System
src Box2d
return System

Box2d() public method

public Box2d ( Box2d src, bool normal ) : System
src Box2d
normal bool
return System

Box2d() public method

public Box2d ( Point2d pnt1, Point2d pnt2 ) : System
pnt1 Point2d
pnt2 Point2d
return System

Box2d() public method

public Box2d ( Point2d pnt1, Point2d pnt2, Point2d pnt3, Point2d pnt4 ) : System
pnt1 Point2d
pnt2 Point2d
pnt3 Point2d
pnt4 Point2d
return System

Box2d() public method

public Box2d ( Point2d center, float width, float height ) : System
center Point2d
width float
height float
return System

Box2d() public method

public Box2d ( RECT_2D rc ) : System
rc RECT_2D
return System

Box2d() public method

public Box2d ( RECT_2D rc, bool normal ) : System
rc RECT_2D
normal bool
return System

Box2d() public method

public Box2d ( float width, float height ) : System
width float
height float
return System

Box2d() public method

public Box2d ( float l, float t, float r, float b ) : System
l float
t float
r float
b float
return System

Box2d() public method

public Box2d ( float l, float t, float r, float b, bool normal ) : System
l float
t float
r float
b float
normal bool
return System

Box2d() public method

public Box2d ( int count, Point2d points ) : System
count int
points Point2d
return System

Box2d() public method

public Box2d ( int l, int t, int r, int b ) : System
l int
t int
r int
b int
return System

Box2d() public method

public Box2d ( int l, int t, int r, int b, bool normal ) : System
l int
t int
r int
b int
normal bool
return System

Dispose() public method

public Dispose ( ) : void
return void

center() public method

public center ( ) : Point2d
return Point2d

contains() public method

public contains ( Box2d box ) : bool
box Box2d
return bool

contains() public method

public contains ( Box2d box, Tol tol ) : bool
box Box2d
tol Tol
return bool

contains() public method

public contains ( Point2d pt ) : bool
pt Point2d
return bool

contains() public method

public contains ( Point2d pt, Tol tol ) : bool
pt Point2d
tol Tol
return bool

deflate() public method

public deflate ( Box2d box ) : Box2d
box Box2d
return Box2d

deflate() public method

public deflate ( Vector2d vec ) : Box2d
vec Vector2d
return Box2d

deflate() public method

public deflate ( float d ) : Box2d
d float
return Box2d

deflate() public method

public deflate ( float x, float y ) : Box2d
x float
y float
return Box2d

deflate() public method

public deflate ( float l, float b, float r, float t ) : Box2d
l float
b float
r float
t float
return Box2d

empty() public method

public empty ( ) : Box2d
return Box2d

get() public method

public get ( RECT_2D rc ) : RECT_2D
rc RECT_2D
return RECT_2D

get() public method

public get ( Point2d p1, Point2d p2 ) : void
p1 Point2d
p2 Point2d
return void

height() public method

public height ( ) : float
return float

inflate() public method

public inflate ( Box2d box ) : Box2d
box Box2d
return Box2d

inflate() public method

public inflate ( Vector2d vec ) : Box2d
vec Vector2d
return Box2d

inflate() public method

public inflate ( float d ) : Box2d
d float
return Box2d

inflate() public method

public inflate ( float x, float y ) : Box2d
x float
y float
return Box2d

inflate() public method

public inflate ( float l, float b, float r, float t ) : Box2d
l float
b float
r float
t float
return Box2d

intersectWith() public method

public intersectWith ( Box2d box ) : Box2d
box Box2d
return Box2d

intersectWith() public method

public intersectWith ( Box2d r1, Box2d r2 ) : Box2d
r1 Box2d
r2 Box2d
return Box2d

isEmpty() public method

public isEmpty ( ) : bool
return bool

isEmpty() public method

public isEmpty ( Tol tol ) : bool
tol Tol
return bool

isEmpty() public method

public isEmpty ( Tol tol, bool useOr ) : bool
tol Tol
useOr bool
return bool

isEmptyMinus() public method

public isEmptyMinus ( ) : bool
return bool

isEmptyMinus() public method

public isEmptyMinus ( Tol tol ) : bool
tol Tol
return bool

isEqualTo() public method

public isEqualTo ( Box2d box ) : bool
box Box2d
return bool

isEqualTo() public method

public isEqualTo ( Box2d box, Tol tol ) : bool
box Box2d
tol Tol
return bool

isIntersect() public method

public isIntersect ( Box2d box ) : bool
box Box2d
return bool

isNormalized() public method

public isNormalized ( ) : bool
return bool

isNull() public method

public isNull ( ) : bool
return bool

kIdentity() public static method

public static kIdentity ( ) : Box2d
return Box2d

leftBottom() public method

public leftBottom ( ) : Point2d
return Point2d

leftTop() public method

public leftTop ( ) : Point2d
return Point2d

normalize() public method

public normalize ( ) : Box2d
return Box2d

offset() public method

public offset ( Box2d box ) : Box2d
box Box2d
return Box2d

offset() public method

public offset ( Vector2d vec ) : Box2d
vec Vector2d
return Box2d

offset() public method

public offset ( float x, float y ) : Box2d
x float
y float
return Box2d

rightBottom() public method

public rightBottom ( ) : Point2d
return Point2d

rightTop() public method

public rightTop ( ) : Point2d
return Point2d

scaleBy() public method

public scaleBy ( float sx ) : Box2d
sx float
return Box2d

scaleBy() public method

public scaleBy ( float sx, float sy ) : Box2d
sx float
sy float
return Box2d

set() public method

public set ( Box2d src ) : Box2d
src Box2d
return Box2d

set() public method

public set ( Box2d src, bool normal ) : Box2d
src Box2d
normal bool
return Box2d

set() public method

public set ( Point2d p1, Point2d p2 ) : Box2d
p1 Point2d
p2 Point2d
return Box2d

set() public method

public set ( Point2d p1, Point2d p2, Point2d p3, Point2d p4 ) : Box2d
p1 Point2d
p2 Point2d
p3 Point2d
p4 Point2d
return Box2d

set() public method

public set ( Point2d center, float width, float height ) : Box2d
center Point2d
width float
height float
return Box2d

set() public method

public set ( float x1, float y1, float x2, float y2 ) : Box2d
x1 float
y1 float
x2 float
y2 float
return Box2d

set() public method

public set ( int count, Point2d points ) : Box2d
count int
points Point2d
return Box2d

size() public method

public size ( ) : Vector2d
return Vector2d

swapTopBottom() public method

public swapTopBottom ( ) : Box2d
return Box2d

unionWith() public method

public unionWith ( Box2d box ) : Box2d
box Box2d
return Box2d

unionWith() public method

public unionWith ( Box2d r1, Box2d r2 ) : Box2d
r1 Box2d
r2 Box2d
return Box2d

unionWith() public method

public unionWith ( Point2d pt ) : Box2d
pt Point2d
return Box2d

unionWith() public method

public unionWith ( float x, float y ) : Box2d
x float
y float
return Box2d

width() public method

public width ( ) : float
return float

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool