C# Class touchvg.core.mglnrel

Inheritance: IDisposable
Mostra file Open project: rhcad/touchvg-v0.6 Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Dispose ( ) : void
clipLine ( Point2d pt1, Point2d pt2, Box2d box ) : bool
cross2Line ( Point2d a, Point2d b, Point2d c, Point2d d, Point2d ptCross ) : bool
cross2Line ( Point2d a, Point2d b, Point2d c, Point2d d, Point2d ptCross, Tol tolVec ) : bool
crossLineAbc ( float a1, float b1, float c1, float a2, float b2, float c2, Point2d ptCross ) : bool
crossLineAbc ( float a1, float b1, float c1, float a2, float b2, float c2, Point2d ptCross, Tol tolVec ) : bool
isBetweenLine ( Point2d a, Point2d b, Point2d pt ) : bool
isBetweenLine2 ( Point2d a, Point2d b, Point2d pt, Tol tol ) : bool
isBetweenLine3 ( Point2d a, Point2d b, Point2d pt ) : bool
isBetweenLine3 ( Point2d a, Point2d b, Point2d pt, Point2d nearpt ) : bool
isColinear ( Point2d a, Point2d b, Point2d pt ) : bool
isColinear2 ( Point2d a, Point2d b, Point2d pt, Tol tol ) : bool
isIntersect ( Point2d a, Point2d b, Point2d c, Point2d d ) : bool
isIntersectProp ( Point2d a, Point2d b, Point2d c, Point2d d ) : bool
isLeft ( Point2d a, Point2d b, Point2d pt ) : bool
isLeft2 ( Point2d a, Point2d b, Point2d pt, Tol tol ) : bool
isLeftOn ( Point2d a, Point2d b, Point2d pt ) : bool
isLeftOn2 ( Point2d a, Point2d b, Point2d pt, Tol tol ) : bool
mglnrel ( ) : System
ptToBeeline ( Point2d a, Point2d b, Point2d pt ) : float
ptToBeeline2 ( Point2d a, Point2d b, Point2d pt, Point2d ptPerp ) : float
ptToLine ( Point2d a, Point2d b, Point2d pt, Point2d nearpt ) : float

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

clipLine() public static method

public static clipLine ( Point2d pt1, Point2d pt2, Box2d box ) : bool
pt1 Point2d
pt2 Point2d
box Box2d
return bool

cross2Line() public static method

public static cross2Line ( Point2d a, Point2d b, Point2d c, Point2d d, Point2d ptCross ) : bool
a Point2d
b Point2d
c Point2d
d Point2d
ptCross Point2d
return bool

cross2Line() public static method

public static cross2Line ( Point2d a, Point2d b, Point2d c, Point2d d, Point2d ptCross, Tol tolVec ) : bool
a Point2d
b Point2d
c Point2d
d Point2d
ptCross Point2d
tolVec Tol
return bool

crossLineAbc() public static method

public static crossLineAbc ( float a1, float b1, float c1, float a2, float b2, float c2, Point2d ptCross ) : bool
a1 float
b1 float
c1 float
a2 float
b2 float
c2 float
ptCross Point2d
return bool

crossLineAbc() public static method

public static crossLineAbc ( float a1, float b1, float c1, float a2, float b2, float c2, Point2d ptCross, Tol tolVec ) : bool
a1 float
b1 float
c1 float
a2 float
b2 float
c2 float
ptCross Point2d
tolVec Tol
return bool

isBetweenLine() public static method

public static isBetweenLine ( Point2d a, Point2d b, Point2d pt ) : bool
a Point2d
b Point2d
pt Point2d
return bool

isBetweenLine2() public static method

public static isBetweenLine2 ( Point2d a, Point2d b, Point2d pt, Tol tol ) : bool
a Point2d
b Point2d
pt Point2d
tol Tol
return bool

isBetweenLine3() public static method

public static isBetweenLine3 ( Point2d a, Point2d b, Point2d pt ) : bool
a Point2d
b Point2d
pt Point2d
return bool

isBetweenLine3() public static method

public static isBetweenLine3 ( Point2d a, Point2d b, Point2d pt, Point2d nearpt ) : bool
a Point2d
b Point2d
pt Point2d
nearpt Point2d
return bool

isColinear() public static method

public static isColinear ( Point2d a, Point2d b, Point2d pt ) : bool
a Point2d
b Point2d
pt Point2d
return bool

isColinear2() public static method

public static isColinear2 ( Point2d a, Point2d b, Point2d pt, Tol tol ) : bool
a Point2d
b Point2d
pt Point2d
tol Tol
return bool

isIntersect() public static method

public static isIntersect ( Point2d a, Point2d b, Point2d c, Point2d d ) : bool
a Point2d
b Point2d
c Point2d
d Point2d
return bool

isIntersectProp() public static method

public static isIntersectProp ( Point2d a, Point2d b, Point2d c, Point2d d ) : bool
a Point2d
b Point2d
c Point2d
d Point2d
return bool

isLeft() public static method

public static isLeft ( Point2d a, Point2d b, Point2d pt ) : bool
a Point2d
b Point2d
pt Point2d
return bool

isLeft2() public static method

public static isLeft2 ( Point2d a, Point2d b, Point2d pt, Tol tol ) : bool
a Point2d
b Point2d
pt Point2d
tol Tol
return bool

isLeftOn() public static method

public static isLeftOn ( Point2d a, Point2d b, Point2d pt ) : bool
a Point2d
b Point2d
pt Point2d
return bool

isLeftOn2() public static method

public static isLeftOn2 ( Point2d a, Point2d b, Point2d pt, Tol tol ) : bool
a Point2d
b Point2d
pt Point2d
tol Tol
return bool

mglnrel() public method

public mglnrel ( ) : System
return System

ptToBeeline() public static method

public static ptToBeeline ( Point2d a, Point2d b, Point2d pt ) : float
a Point2d
b Point2d
pt Point2d
return float

ptToBeeline2() public static method

public static ptToBeeline2 ( Point2d a, Point2d b, Point2d pt, Point2d ptPerp ) : float
a Point2d
b Point2d
pt Point2d
ptPerp Point2d
return float

ptToLine() public static method

public static ptToLine ( Point2d a, Point2d b, Point2d pt, Point2d nearpt ) : float
a Point2d
b Point2d
pt Point2d
nearpt Point2d
return float

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool