C# 클래스 touchvg.core.Vector2d

상속: global::System.IDisposable
파일 보기 프로젝트 열기: rhcad/touchvg-v0.6 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
swigCMemOwn bool

공개 메소드들

메소드 설명
Dispose ( ) : void
Vector2d ( ) : System
Vector2d ( Vector2d src ) : System
Vector2d ( float xx, float yy ) : System
add ( Vector2d v ) : Vector2d
angle ( ) : float
angle2 ( ) : float
angleTo ( Vector2d v ) : float
angleTo2 ( Vector2d v ) : float
crossProduct ( Vector2d v ) : float
distanceToVector ( Vector2d xAxis ) : float
dotProduct ( Vector2d v ) : float
isCodirectionalTo ( Vector2d vec ) : bool
isCodirectionalTo ( Vector2d vec, Tol tol ) : bool
isEqualTo ( Vector2d v ) : bool
isEqualTo ( Vector2d v, Tol tol ) : bool
isLeftOf ( Vector2d vec ) : bool
isOppositeTo ( Vector2d vec ) : bool
isOppositeTo ( Vector2d vec, Tol tol ) : bool
isParallelTo ( Vector2d vec ) : bool
isParallelTo ( Vector2d vec, Tol tol ) : bool
isPerpendicularTo ( Vector2d vec ) : bool
isPerpendicularTo ( Vector2d vec, Tol tol ) : bool
isRightOf ( Vector2d vec ) : bool
isUnitVector ( ) : bool
isUnitVector ( Tol tol ) : bool
isZeroVector ( ) : bool
isZeroVector ( Tol tol ) : bool
kIdentity ( ) : Vector2d
kXAxis ( ) : Vector2d
kYAxis ( ) : Vector2d
length ( ) : float
lengthSqrd ( ) : float
negate ( ) : Vector2d
normalize ( ) : bool
normalize ( Tol tol ) : bool
perpVector ( ) : Vector2d
projectResolveVector ( Vector2d xAxis, Vector2d proj, Vector2d perp ) : float
projectScaleToVector ( Vector2d xAxis ) : float
resolveVector ( Vector2d uAxis, Vector2d vAxis ) : bool
resolveVector ( Vector2d uAxis, Vector2d vAxis, Vector2d uv ) : bool
scaleBy ( float s ) : Vector2d
scaleBy ( float sx, float sy ) : Vector2d
set ( float xx, float yy ) : Vector2d
setAngleLength ( float angle, float len ) : Vector2d
setLength ( float len ) : Vector2d
subtract ( Vector2d v ) : Vector2d
transform ( Matrix2d m ) : Vector2d
unitVector ( ) : Vector2d

비공개 메소드들

메소드 설명
Vector2d ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( Vector2d obj ) : HandleRef

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Vector2d() 공개 메소드

public Vector2d ( ) : System
리턴 System

Vector2d() 공개 메소드

public Vector2d ( Vector2d src ) : System
src Vector2d
리턴 System

Vector2d() 공개 메소드

public Vector2d ( float xx, float yy ) : System
xx float
yy float
리턴 System

add() 공개 메소드

public add ( Vector2d v ) : Vector2d
v Vector2d
리턴 Vector2d

angle() 공개 메소드

public angle ( ) : float
리턴 float

angle2() 공개 메소드

public angle2 ( ) : float
리턴 float

angleTo() 공개 메소드

public angleTo ( Vector2d v ) : float
v Vector2d
리턴 float

angleTo2() 공개 메소드

public angleTo2 ( Vector2d v ) : float
v Vector2d
리턴 float

crossProduct() 공개 메소드

public crossProduct ( Vector2d v ) : float
v Vector2d
리턴 float

distanceToVector() 공개 메소드

public distanceToVector ( Vector2d xAxis ) : float
xAxis Vector2d
리턴 float

dotProduct() 공개 메소드

public dotProduct ( Vector2d v ) : float
v Vector2d
리턴 float

isCodirectionalTo() 공개 메소드

public isCodirectionalTo ( Vector2d vec ) : bool
vec Vector2d
리턴 bool

isCodirectionalTo() 공개 메소드

public isCodirectionalTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
리턴 bool

isEqualTo() 공개 메소드

public isEqualTo ( Vector2d v ) : bool
v Vector2d
리턴 bool

isEqualTo() 공개 메소드

public isEqualTo ( Vector2d v, Tol tol ) : bool
v Vector2d
tol Tol
리턴 bool

isLeftOf() 공개 메소드

public isLeftOf ( Vector2d vec ) : bool
vec Vector2d
리턴 bool

isOppositeTo() 공개 메소드

public isOppositeTo ( Vector2d vec ) : bool
vec Vector2d
리턴 bool

isOppositeTo() 공개 메소드

public isOppositeTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
리턴 bool

isParallelTo() 공개 메소드

public isParallelTo ( Vector2d vec ) : bool
vec Vector2d
리턴 bool

isParallelTo() 공개 메소드

public isParallelTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
리턴 bool

isPerpendicularTo() 공개 메소드

public isPerpendicularTo ( Vector2d vec ) : bool
vec Vector2d
리턴 bool

isPerpendicularTo() 공개 메소드

public isPerpendicularTo ( Vector2d vec, Tol tol ) : bool
vec Vector2d
tol Tol
리턴 bool

isRightOf() 공개 메소드

public isRightOf ( Vector2d vec ) : bool
vec Vector2d
리턴 bool

isUnitVector() 공개 메소드

public isUnitVector ( ) : bool
리턴 bool

isUnitVector() 공개 메소드

public isUnitVector ( Tol tol ) : bool
tol Tol
리턴 bool

isZeroVector() 공개 메소드

public isZeroVector ( ) : bool
리턴 bool

isZeroVector() 공개 메소드

public isZeroVector ( Tol tol ) : bool
tol Tol
리턴 bool

kIdentity() 공개 정적인 메소드

public static kIdentity ( ) : Vector2d
리턴 Vector2d

kXAxis() 공개 정적인 메소드

public static kXAxis ( ) : Vector2d
리턴 Vector2d

kYAxis() 공개 정적인 메소드

public static kYAxis ( ) : Vector2d
리턴 Vector2d

length() 공개 메소드

public length ( ) : float
리턴 float

lengthSqrd() 공개 메소드

public lengthSqrd ( ) : float
리턴 float

negate() 공개 메소드

public negate ( ) : Vector2d
리턴 Vector2d

normalize() 공개 메소드

public normalize ( ) : bool
리턴 bool

normalize() 공개 메소드

public normalize ( Tol tol ) : bool
tol Tol
리턴 bool

perpVector() 공개 메소드

public perpVector ( ) : Vector2d
리턴 Vector2d

projectResolveVector() 공개 메소드

public projectResolveVector ( Vector2d xAxis, Vector2d proj, Vector2d perp ) : float
xAxis Vector2d
proj Vector2d
perp Vector2d
리턴 float

projectScaleToVector() 공개 메소드

public projectScaleToVector ( Vector2d xAxis ) : float
xAxis Vector2d
리턴 float

resolveVector() 공개 메소드

public resolveVector ( Vector2d uAxis, Vector2d vAxis ) : bool
uAxis Vector2d
vAxis Vector2d
리턴 bool

resolveVector() 공개 메소드

public resolveVector ( Vector2d uAxis, Vector2d vAxis, Vector2d uv ) : bool
uAxis Vector2d
vAxis Vector2d
uv Vector2d
리턴 bool

scaleBy() 공개 메소드

public scaleBy ( float s ) : Vector2d
s float
리턴 Vector2d

scaleBy() 공개 메소드

public scaleBy ( float sx, float sy ) : Vector2d
sx float
sy float
리턴 Vector2d

set() 공개 메소드

public set ( float xx, float yy ) : Vector2d
xx float
yy float
리턴 Vector2d

setAngleLength() 공개 메소드

public setAngleLength ( float angle, float len ) : Vector2d
angle float
len float
리턴 Vector2d

setLength() 공개 메소드

public setLength ( float len ) : Vector2d
len float
리턴 Vector2d

subtract() 공개 메소드

public subtract ( Vector2d v ) : Vector2d
v Vector2d
리턴 Vector2d

transform() 공개 메소드

public transform ( Matrix2d m ) : Vector2d
m Matrix2d
리턴 Vector2d

unitVector() 공개 메소드

public unitVector ( ) : Vector2d
리턴 Vector2d

프로퍼티 상세

swigCMemOwn 보호되어 있는 프로퍼티

protected bool swigCMemOwn
리턴 bool