返回介绍

指南

MxCAD API 文档

MdGeBSplineCurve

发布于 2024-07-31 21:39:59 字数 21367 浏览 0 评论 0 收藏 0

mxcad API 文档 / MdGeBSplineCurve

Class: MdGeBSplineCurve

表示B样条曲线

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeBSplineCurve(p1?, p2?, p3?, p4?, p5?)

Parameters

NameType
p1?object \MdGeArray1OfPnt
p2?MdGeArray1OfReal
p3?MdGeArray1OfInteger
p4?number
p5?boolean

Overrides

MdGeObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MdGeObject.imp

Methods

Continuity

Continuity(): MxGAShapeEnum

Returns

MxGAShapeEnum


DN

DN(U, N): MdGeVec

Parameters

NameType
Unumber
Nnumber

Returns

MdGeVec


Degree

Degree(): number

Returns

number


Edge

Edge(): MdGeEdge

Returns

MdGeEdge


EndPoint

EndPoint(): MdGePoint

Returns

MdGePoint


FirstParameter

FirstParameter(): number

Returns

number


FirstUKnotIndex

FirstUKnotIndex(): number

Returns

number


IncreaseDegree

IncreaseDegree(Degree): void

Parameters

NameType
Degreenumber

Returns

void


IncreaseMultiplicity

IncreaseMultiplicity(p1, p2, p3?): void

Parameters

NameType
p1number
p2number
p3?number

Returns

void


IncrementMultiplicity

IncrementMultiplicity(I1, I2, M): void

Parameters

NameType
I1number
I2number
Mnumber

Returns

void


InsertKnot

InsertKnot(U, M?, ParametricTolerance?, Add?): void

Parameters

NameType
Unumber
M?number
ParametricTolerance?number
Add?boolean

Returns

void


InsertKnots

InsertKnots(Knots, Mults, ParametricTolerance?, Add?): void

Parameters

NameType
KnotsMdGeArray1OfReal
MultsMdGeArray1OfInteger
ParametricTolerance?number
Add?boolean

Returns

void


IsCN

IsCN(N): boolean

Parameters

NameType
Nnumber

Returns

boolean


IsClosed

IsClosed(): boolean

Returns

boolean


IsG1

IsG1(theTf, theTl, theAngTol): boolean

Parameters

NameType
theTfnumber
theTlnumber
theAngTolnumber

Returns

boolean


IsPeriodic

IsPeriodic(): boolean

Returns

boolean


IsRational

IsRational(): boolean

Returns

boolean


Knot

Knot(Index): number

Parameters

NameType
Indexnumber

Returns

number


KnotSequence

KnotSequence(): MdGeArray1OfReal

Returns

MdGeArray1OfReal


Knots

Knots(): MdGeArray1OfReal

Returns

MdGeArray1OfReal


LastParameter

LastParameter(): number

Returns

number


LastUKnotIndex

LastUKnotIndex(): number

Returns

number


LocalDN

LocalDN(U, FromK1, ToK2, N): MdGeVec

Parameters

NameType
Unumber
FromK1number
ToK2number
Nnumber

Returns

MdGeVec


LocalValue

LocalValue(U, FromK1, ToK2): MdGePoint

Parameters

NameType
Unumber
FromK1number
ToK2number

Returns

MdGePoint


Multiplicities

Multiplicities(): MdGeArray1OfInteger

Returns

MdGeArray1OfInteger


Multiplicity

Multiplicity(Index): number

Parameters

NameType
Indexnumber

Returns

number


NbKnots

NbKnots(): number

Returns

number


NbPoles

NbPoles(): number

Returns

number


Pole

Pole(Index): MdGePoint

Parameters

NameType
Indexnumber

Returns

MdGePoint


Poles

Poles(): MdGeArray1OfPnt

Returns

MdGeArray1OfPnt


RemoveKnot

RemoveKnot(Index, M, Tolerance): boolean

Parameters

NameType
Indexnumber
Mnumber
Tolerancenumber

Returns

boolean


Reverse

Reverse(): void

Returns

void


ReversedParameter

ReversedParameter(U): number

Parameters

NameType
Unumber

Returns

number


SetKnot

SetKnot(Index, K, M?): void

Parameters

NameType
Indexnumber
Knumber
M?number

Returns

void


SetKnots

SetKnots(K): void

Parameters

NameType
KMdGeArray1OfReal

Returns

void


SetNotPeriodic

SetNotPeriodic(): void

Returns

void


SetOrigin

SetOrigin(p1, p2?): void

Parameters

NameType
p1number
p2?number

Returns

void


SetPeriodic

SetPeriodic(): void

Returns

void


SetPole

SetPole(Index, P, Weight?): void

Parameters

NameType
Indexnumber
PMdGePoint
Weight?number

Returns

void


SetWeight

SetWeight(Index, Weight): void

Parameters

NameType
Indexnumber
Weightnumber

Returns

void


Shape

Shape(): MdGeShape

Returns

MdGeShape


StartPoint

StartPoint(): MdGePoint

Returns

MdGePoint


Transform

Transform(T): void

Parameters

NameType
TMdGeTrsf

Returns

void


Weight

Weight(Index): number

Parameters

NameType
Indexnumber

Returns

number


Weights

Weights(): MdGeArray1OfReal

Returns

MdGeArray1OfReal


Wire

Wire(): MdGeWire

Returns

MdGeWire


getImp

getImp(): any

Returns

any

Inherited from

MdGeObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

MdGeObject.initTempObject

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文