GetEdgeBsplineParams method


Your Ad Here


Topsolid online Help Index

Created : v6.6

 

IShape.GetEdgeBsplineParams(EdgeId, Umin, Umax, Rational, UClosed, UPeriodic, USinguls, UNumCpts, UNumKnots, UDegree, CptsX, CptsY, CptsZ, Weights, UKnots, Sense)

Description

This method gets the parameters of a bspline curve. There are only the knots and the control points in the range [Umin, Umax].

Parameters

 

IN:

 

Long EdgeId

Id of the edge.

 

OUT:

Double Umin

Minimum U-parameter.

 

OUT:

Double Umax

Maximum U-parameter.

 

OUT:

 

Boolean Rational

True if the curve is rational.

OUT:

Boolean UClosed

True if the curve is U-closed.

 

OUT:

Boolean UPeriodic

True if the curve is U-periodic.

 

OUT:

Variant USinguls (array)

Array of the U-singuls (array of double).

 

OUT:

Long UNumCpts

Number of U-control points.

 

OUT:

Long UNumKnots

Number of the U-knots.

 

OUT:

Long UDegree

U-degree.

 

OUT:

Variant CptsX (array)

Array of the X coordinates of the control points (array of double).

 

OUT:

Variant CptsY (array)

Array of the Y coordinates of the control points (array of double).

 

OUT:

Variant CptsZ (array)

Array of the Z coordinates of the control points (array of double).

 

OUT:

Variant Weights (array)

Array of the weights (array of double).

 

OUT:

Variant UKnots (array)

Array of the U-knots (array of double).

 

OUT:

Boolean Sense

True if the curve is in the same sense as the edge.

 

Topsolid online Help Index

Your Ad Here