Share

AcGeNurbCurve3d Constructor

Overload List

Method Description
AcGeNurbCurve3d::AcGeNurbCurve3d () Default constructor. This is only a placeholder. No data is stored.
AcGeNurbCurve3d::AcGeNurbCurve3d (AcGeCurve3d&, double) Constructs a cubic interpolation spline approximating curve with the distance of epsilon.
AcGeNurbCurve3d::AcGeNurbCurve3d (AcGeEllipArc3d&) Constructs spline geometrically identical to an elliptic arc.
AcGeNurbCurve3d::AcGeNurbCurve3d (AcGeLineSeg3d&) Constructs spline representing a line segment
AcGeNurbCurve3d::AcGeNurbCurve3d (AcGeNurbCurve3d&) Constructs a 3D spline that is a copy of the input spline.
AcGeNurbCurve3d::AcGeNurbCurve3d (AcGePoint3dArray&, AcGeTol&) Constructs a 3D polynomial spline interpolating a given array if 3D points within given tolerance.
AcGeNurbCurve3d::AcGeNurbCurve3d (AcGePoint3dArray&, AcGeVector3d&, AcGeVector3d&, Adesk::Boolean, Adesk::Boolean, AcGe::KnotParameterization, AcGeTol&) Constructs a 3D polynomial spline interpolating a given array of 3D points within given tolerance and knot parameterization, and having given derivatives at the start point and endpoint. If startTangentDefined is 0, then startTangent will be ignored and the constructor will compute the start tangent vector. Similarly for endTangentDefined.
AcGeNurbCurve3d::AcGeNurbCurve3d (AcGePoint3dArray&, AcGeVector3d&, AcGeVector3d&, Adesk::Boolean, Adesk::Boolean, AcGeTol&) This method is deprecated and will be removed in a future version.Constructs a 3D polynomial spline interpolating a given array of 3D points within the given tolerance and having given derivatives at the start point and endpoint. If startTangentDefined is 0, then startTangent will be ignored and the constructor will compute the start tangent vector. Similarly for endTangentDefined.If fitTolerance is not 0, then the constructed spline may not pass through the fit points, but the maximum distance from any fit point to the constructed spline will be no greater than fitTolerance.
AcGeNurbCurve3d::AcGeNurbCurve3d (AcGePoint3dArray&, AcGeVector3dArray&, AcGeTol&, Adesk::Boolean) Constructs a 3D polynomial spline interpolating a given array if 3D points within given tolerance. If isPeriodic = Adesk::kTrue, then the first and the last fitPoints must be identical. Same must be true for fitTangents.
AcGeNurbCurve3d::AcGeNurbCurve3d (int, AcGeKnotVector&, AcGePoint3dArray&, AcGeDoubleArray&, Adesk::Boolean) Constructs a 3D rational spline by a knot vector, control points, and weights. If the spline is rational, control points and weights must have same length.If isPeriodic = Adesk::kFalse then the length of knot vector must be greater than the length of the control array by degree+1.If isPeriodic = Adesk::kTrue then one of the following must be true:
  • The length of the knot vector must be greater than length of the control array by 1. The first and the last control points must NOT be identical.
  • The knot vector and control array must have same length, and the... more
AcGeNurbCurve3d::AcGeNurbCurve3d (int, AcGeKnotVector&, AcGePoint3dArray&, Adesk::Boolean) If isPeriodic = Adesk::kFalse then the length of knot vector must be greater than the length of the control array by degree+1.If isPeriodic = Adesk::kTrue then one of the following must be true:
  • length of the knot vector must be greater than length of the control array by 1. The first and the last control points must not be identical.
  • knot vector and control array must have same length, and the first and the last control points must be identical.
AcGeNurbCurve3d::AcGeNurbCurve3d (int, AcGePolyline3d&, Adesk::Boolean) Constructs a 3D rational spline by a degree and fit points provided by a polyline. If isPeriodic is Adesk::kTrue then the first and the last fitPoints from fitPolyLine must be identical.

Was this information helpful?