Protected Member Functions | List of all members
RefCountedMSInterpolationCurve Struct Reference

MSInterpolationCurve with IRefCounted support for smart pointers. More...

#include <MSInterpolationCurve.h>

Inheritance diagram for RefCountedMSInterpolationCurve:
MSInterpolationCurve

Protected Member Functions

 RefCountedMSInterpolationCurve ()
 
 ~RefCountedMSInterpolationCurve ()
 

Additional Inherited Members

- Public Member Functions inherited from MSInterpolationCurve
void ReleaseMem ()
 Free the memory allocated to the poles of the interpolation curve. More...
 
MSBsplineStatus AllocateFitPoints (int count, DPoint3dCP data=NULL)
 Allocate specified number of fit points. Optionally copy in points from buffer. More...
 
MSBsplineStatus AllocateKnots (int count, double const *data=NULL)
 Allocate specified number of knots. Optionally copy in knots from buffer. More...
 
MSBsplineStatus CopyFrom (MSInterpolationCurveCR source)
 Allocate memory for the B-spline curve and copies all data from the input inerpolation curve. More...
 
void Zero ()
 Clear to zero state. DOES NOT RELEASE MEMORY. More...
 
int GetOrder () const
 
MSBsplineStatus InitFromPointsAndEndTangents (DPoint3d *inPts, int numPts, bool remvData, double remvTol, DPoint3d *endTangents, bool closedCurve, bool colinearTangents, bool chordLenTangents, bool naturalTangents)
 This routine creates a MSInterpolationCurve from an array of points and given end tangents. More...
 
MSBsplineStatus InitFromPointsAndEndTangents (bvector< DPoint3d > &inPoints, bool remvData, double remvTol, DPoint3d *endTangents, bool closedCurve, bool colinearTangents, bool chordLenTangents, bool naturalTangents)
 This routine creates a MSInterpolationCurve from an array of points and given end tangents. More...
 
MSBsplineStatus Populate (int order, bool periodic, int isChordLenKnots, int isColinearTangents, int isChordLenTangents, int isNaturalTangents, DPoint3dCP pFitPoints, int numFitPoints, double const *pKnots, int numKnots)
 Init by direct copy to members. This is intended for serialization where there is little checking of geometric validity. More...
 
bool AlmostEqual (MSInterpolationCurveCR other, double tolerance) const
 
- Static Public Member Functions inherited from MSInterpolationCurve
static MSInterpolationCurvePtr CreatePtr ()
 Return a refcounted pointer to an empty curve structure. More...
 
- Public Attributes inherited from MSInterpolationCurve
InterpolationParam params
 Control data for order, periodicity, counts, and end conditions. More...
 
DPoint3d startTangent
 Start tangent end for curve fit. More...
 
DPoint3d endTangent
 End tangent for curve fit. More...
 
DPoint3d * fitPoints
 Passthrough points for curve fit. More...
 
double * knots
 Knots for curve fit. More...
 
BsplineDisplay display
 Display parameters. More...
 

Detailed Description

MSInterpolationCurve with IRefCounted support for smart pointers.

Create via MSInterpolationCurve::CreatePtr ();

Constructor & Destructor Documentation


The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.