C# 클래스 touchvg.core.mgcurv

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

보호된 프로퍼티들

프로퍼티 타입 설명
swigCMemOwn bool

공개 메소드들

메소드 설명
Dispose ( ) : void
arcToBezier ( Point2d points, Point2d center, float rx, float ry, float startAngle, float sweepAngle ) : int
bezier4P ( Point2d pt1, Point2d pt2, Point2d pt3, Point2d pt4, Point2d ctrpt1, Point2d ctrpt2 ) : void
bsplinesToBeziers ( Point2d points, int n, Point2d ctlpts, bool closed ) : int
cubicSplineToBezier ( int n, Point2d knots, Vector2d knotvs, int i, Point2d points ) : void
cubicSplines ( int n, Point2d knots, Vector2d knotvs ) : bool
cubicSplines ( int n, Point2d knots, Vector2d knotvs, int flag ) : bool
cubicSplines ( int n, Point2d knots, Vector2d knotvs, int flag, float tension ) : bool
ellipse90ToBezier ( Point2d frompt, Point2d topt, Point2d ctrpt1, Point2d ctrpt2 ) : void
ellipseToBezier ( Point2d points, Point2d center, float rx, float ry ) : void
fitBezier ( Point2d pts, float t, Point2d fitpt ) : void
fitCubicSpline ( int n, Point2d knots, Vector2d knotvs, int i, float t, Point2d fitpt ) : void
insectTwoCircles ( Point2d pt1, Point2d pt2, Point2d c1, float r1, Point2d c2, float r2 ) : int
mgcurv ( ) : System
roundRectToBeziers ( Point2d points, Box2d rect, float rx, float ry ) : void
splitBezier ( Point2d pts, float t, Point2d pts1, Point2d pts2 ) : void

비공개 메소드들

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

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

arcToBezier() 공개 정적인 메소드

public static arcToBezier ( Point2d points, Point2d center, float rx, float ry, float startAngle, float sweepAngle ) : int
points Point2d
center Point2d
rx float
ry float
startAngle float
sweepAngle float
리턴 int

bezier4P() 공개 정적인 메소드

public static bezier4P ( Point2d pt1, Point2d pt2, Point2d pt3, Point2d pt4, Point2d ctrpt1, Point2d ctrpt2 ) : void
pt1 Point2d
pt2 Point2d
pt3 Point2d
pt4 Point2d
ctrpt1 Point2d
ctrpt2 Point2d
리턴 void

bsplinesToBeziers() 공개 정적인 메소드

public static bsplinesToBeziers ( Point2d points, int n, Point2d ctlpts, bool closed ) : int
points Point2d
n int
ctlpts Point2d
closed bool
리턴 int

cubicSplineToBezier() 공개 정적인 메소드

public static cubicSplineToBezier ( int n, Point2d knots, Vector2d knotvs, int i, Point2d points ) : void
n int
knots Point2d
knotvs Vector2d
i int
points Point2d
리턴 void

cubicSplines() 공개 정적인 메소드

public static cubicSplines ( int n, Point2d knots, Vector2d knotvs ) : bool
n int
knots Point2d
knotvs Vector2d
리턴 bool

cubicSplines() 공개 정적인 메소드

public static cubicSplines ( int n, Point2d knots, Vector2d knotvs, int flag ) : bool
n int
knots Point2d
knotvs Vector2d
flag int
리턴 bool

cubicSplines() 공개 정적인 메소드

public static cubicSplines ( int n, Point2d knots, Vector2d knotvs, int flag, float tension ) : bool
n int
knots Point2d
knotvs Vector2d
flag int
tension float
리턴 bool

ellipse90ToBezier() 공개 정적인 메소드

public static ellipse90ToBezier ( Point2d frompt, Point2d topt, Point2d ctrpt1, Point2d ctrpt2 ) : void
frompt Point2d
topt Point2d
ctrpt1 Point2d
ctrpt2 Point2d
리턴 void

ellipseToBezier() 공개 정적인 메소드

public static ellipseToBezier ( Point2d points, Point2d center, float rx, float ry ) : void
points Point2d
center Point2d
rx float
ry float
리턴 void

fitBezier() 공개 정적인 메소드

public static fitBezier ( Point2d pts, float t, Point2d fitpt ) : void
pts Point2d
t float
fitpt Point2d
리턴 void

fitCubicSpline() 공개 정적인 메소드

public static fitCubicSpline ( int n, Point2d knots, Vector2d knotvs, int i, float t, Point2d fitpt ) : void
n int
knots Point2d
knotvs Vector2d
i int
t float
fitpt Point2d
리턴 void

insectTwoCircles() 공개 정적인 메소드

public static insectTwoCircles ( Point2d pt1, Point2d pt2, Point2d c1, float r1, Point2d c2, float r2 ) : int
pt1 Point2d
pt2 Point2d
c1 Point2d
r1 float
c2 Point2d
r2 float
리턴 int

mgcurv() 공개 메소드

public mgcurv ( ) : System
리턴 System

roundRectToBeziers() 공개 정적인 메소드

public static roundRectToBeziers ( Point2d points, Box2d rect, float rx, float ry ) : void
points Point2d
rect Box2d
rx float
ry float
리턴 void

splitBezier() 공개 정적인 메소드

public static splitBezier ( Point2d pts, float t, Point2d pts1, Point2d pts2 ) : void
pts Point2d
t float
pts1 Point2d
pts2 Point2d
리턴 void

프로퍼티 상세

swigCMemOwn 보호되어 있는 프로퍼티

protected bool swigCMemOwn
리턴 bool