DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > API Reference > General Geometry > Curves > IBSplineCurve_DG Search Documentation


IBSplineCurve_DG Interface

Init
Init1
InitFromPoints
InitFromPoints1
InitFromPoints2
Interpolate
Interpolate1
Interpolate2
Interpolate3
GetDegree
SetDegree
GetKnotCount
GetKnot
GetKnots
SetKnot
SetKnot2
SetKnots
GetMultiplicity
GetMultiplicities
SetMultiplicity
SetMultiplicity2
GetPoleCount
GetPole
GetPoles
SetPole
SetPole2
GetWeight
SetWeight
GetWeights
IsClosed
IsPeriodic
SetPeriodic
IsRational
GetPoint
GetJet1
GetJet2
GetJetN
GetContinuity
GetEndParameter
GetEndPoint
InsertKnot
InsertKnots
RemoveKnot
Reverse
SetRange
NormalizePeriodic
SetOrigin
SetOrigin2
ModifyPoint
ModifyPointAndTangent
GetEndKnotIndex
GetKnotSequence
GetKnotDistributionType
FindParameter

void GetJet1(double u, Point_DG pt, Vect_DG v1)

Returns point and tangent vector at the specified parameter


void Init(IPointArray_DG poles, IArrayDouble_DG knots, IArrayInt_DG multiplicities, int degree, bool periodic)


void Init1(IPointArray_DG poles, IArrayDouble_DG weights, IArrayDouble_DG knots, IArrayInt_DG multiplicities, int degree, bool periodic, bool checkRational)


void InitFromPoints(IPointArray_DG points, int degreeMin, int degreeMax, Continuity_DG continuity, double tolerance)


void InitFromPoints1(IPointArray_DG points, IArrayDouble_DG parameters, int degreeMin, int degreeMax, Continuity_DG continuity, double tolerance)


void InitFromPoints2(IPointArray_DG points, double smoothingWeight0, double smoothingWeight1, double smoothingWeight2, int degreeMax, Continuity_DG continuity, double tolerance)


void Interpolate(IPointArray_DG points, bool periodic, double tolerance)


void Interpolate1(IPointArray_DG points, IArrayDouble_DG parameters, bool periodic, double tolerance)


void Interpolate2(IPointArray_DG points, Vect_DG tangentStart, Vect_DG tangentEnd, bool scale, IArrayDouble_DG paramsOrNull, bool periodic, double tolerance)


void Interpolate3(IPointArray_DG points, IPointArray_DG tangents, IArrayInt_DG tangentFlags, bool scale, IArrayDouble_DG paramsOrNull, bool periodic, double tolerance)


int GetDegree()


void SetDegree(int degree)


int GetKnotCount()


double GetKnot(int index)


IArrayDouble_DG GetKnots()


void SetKnot(int index, double knot)


void SetKnot2(int index, double knot, int multiplicity)


void SetKnots(IArrayDouble_DG knots)


int GetMultiplicity(int index)


IArrayInt_DG GetMultiplicities()


void SetMultiplicity(int index, int multiplicity)


void SetMultiplicity2(int i0, int i1, int multiplicity)


int GetPoleCount()


Point_DG GetPole(int index)


IPointArray_DG GetPoles()


Point_DG SetPole(int index)


void SetPole2(int index, Point_DG pt, double weight)


double GetWeight(int index)


void SetWeight(int index, double weight)


IArrayDouble_DG GetWeights()


bool IsClosed()


bool IsPeriodic()


void SetPeriodic(bool periodic)


bool IsRational()


Point_DG GetPoint(double u)


void GetJet1(double u, Point_DG pt, Vect_DG v1)


void GetJet2(double u, Point_DG pt, Vect_DG v1, Vect_DG v2)

Returns point, tangent vector and the second derivative at the specified parameter


Vect_DG GetJetN(double u, int n)

Returns n-th derivative at the specified parameter


int GetContinuity()


double GetEndParameter(bool first)


Point_DG GetEndPoint(bool first)


void InsertKnot(double u, int multiplicity, double tolerance, bool add)


void InsertKnots(IArrayDouble_DG knots, IArrayInt_DG multiplicities, double tolerance, bool add)


void RemoveKnot(int index, int multiplicity, double tolerance)


void Reverse()


void SetRange(double min, double max)


void NormalizePeriodic(double u)


void SetOrigin(int index)


void SetOrigin2(double u, double tolerance)


void ModifyPoint(double u, Point_DG pt, int index0, int index1, int firstModifiedPole, int lastModifiedPole)


int ModifyPointAndTangent(double u, Point_DG pt, Vect_DG tangent, double tolerance, int startingCondition, int endingCondition)


int GetEndKnotIndex(bool first)


IArrayDouble_DG GetKnotSequence()


int GetKnotDistributionType()


void FindParameter(double u, double tolerance, int i0, int i1, bool withKnotRepetition)