C# Класс touchvg.core.mgcurv

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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