C# Class touchvg.core.Point2d

Inheritance: global::System.IDisposable
ファイルを表示 Open project: rhcad/touchvg-v0.6 Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
Point2d ( ) : System
Point2d ( Point2d src ) : System
Point2d ( float xx, float yy ) : System
add ( Point2d pnt ) : Point2d
asVector ( ) : Vector2d
distanceSquare ( Point2d pnt ) : float
distanceTo ( Point2d pnt ) : float
isEqualTo ( Point2d pnt ) : bool
isEqualTo ( Point2d pnt, Tol tol ) : bool
kOrigin ( ) : Point2d
length ( ) : float
negate ( ) : Vector2d
offset ( Vector2d vec ) : void
offset ( float dx, float dy ) : void
polarPoint ( float angle, float dist ) : Point2d
rulerPoint ( Point2d dir, float yoff ) : Point2d
rulerPoint ( Point2d dir, float xoff, float yoff ) : Point2d
scaleBy ( float s ) : Point2d
scaleBy ( float sx, float sy ) : Point2d
set ( float xx, float yy ) : Point2d
subtract ( Vector2d vec ) : Point2d
subtract ( Point2d pnt ) : Vector2d
transform ( Matrix2d m ) : Point2d

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Point2d() public method

public Point2d ( ) : System
return System

Point2d() public method

public Point2d ( Point2d src ) : System
src Point2d
return System

Point2d() public method

public Point2d ( float xx, float yy ) : System
xx float
yy float
return System

add() public method

public add ( Point2d pnt ) : Point2d
pnt Point2d
return Point2d

asVector() public method

public asVector ( ) : Vector2d
return Vector2d

distanceSquare() public method

public distanceSquare ( Point2d pnt ) : float
pnt Point2d
return float

distanceTo() public method

public distanceTo ( Point2d pnt ) : float
pnt Point2d
return float

isEqualTo() public method

public isEqualTo ( Point2d pnt ) : bool
pnt Point2d
return bool

isEqualTo() public method

public isEqualTo ( Point2d pnt, Tol tol ) : bool
pnt Point2d
tol Tol
return bool

kOrigin() public static method

public static kOrigin ( ) : Point2d
return Point2d

length() public method

public length ( ) : float
return float

negate() public method

public negate ( ) : Vector2d
return Vector2d

offset() public method

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

offset() public method

public offset ( float dx, float dy ) : void
dx float
dy float
return void

polarPoint() public method

public polarPoint ( float angle, float dist ) : Point2d
angle float
dist float
return Point2d

rulerPoint() public method

public rulerPoint ( Point2d dir, float yoff ) : Point2d
dir Point2d
yoff float
return Point2d

rulerPoint() public method

public rulerPoint ( Point2d dir, float xoff, float yoff ) : Point2d
dir Point2d
xoff float
yoff float
return Point2d

scaleBy() public method

public scaleBy ( float s ) : Point2d
s float
return Point2d

scaleBy() public method

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

set() public method

public set ( float xx, float yy ) : Point2d
xx float
yy float
return Point2d

subtract() public method

public subtract ( Vector2d vec ) : Point2d
vec Vector2d
return Point2d

subtract() public method

public subtract ( Point2d pnt ) : Vector2d
pnt Point2d
return Vector2d

transform() public method

public transform ( Matrix2d m ) : Point2d
m Matrix2d
return Point2d

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool