#include <CTiglCurveConnector.h>
Data Structures | |
| struct | guideCurveConnected |
| struct | guideCurvePart |
Public Member Functions | |
| TIGL_EXPORT | CTiglCurveConnector (std::map< double, const CCPACSGuideCurve * > &roots, const std::vector< double > ¶ms) |
| CTiglCurveConnector interpolates the guide curves for all segments. The interpolation is parametrized with the centripetal method for the given parameters at the sections. | |
| TIGL_EXPORT TopoDS_Compound | GetConnectedGuideCurves () |
| Returns the interpolated guide curves of the object. | |
Private Types | |
| enum | dependencyType { none = 0 , C2_from_previous , C2_to_previous } |
Private Member Functions | |
| void | CreateInterpolationOrder (guideCurveConnected &connectedCurve) |
| Creates the interpolation order for the partial curves, based on their interdependencies (from/to continuities). | |
| void | CreatePartialCurves (guideCurveConnected &connectedCurve, const CCPACSGuideCurve *current) |
| Creates the list of partial curves for every connected guide curve recursively. | |
| void | InterpolateGuideCurvePart (guideCurveConnected &connectedCurve, int partIndex) |
| interpolates a partial curve given its continuity conditions and prescribed tangents | |
| void | VerifyNumberOfSegments (std::map< double, const CCPACSGuideCurve * > &roots, int shouldBeThisMany=-1) |
| Verifies that all connected guide curves intersect the same number of segments. | |
Private Attributes | |
| std::vector< guideCurveConnected > | m_connectedCurves |
|
private |
| TIGL_EXPORT tigl::CTiglCurveConnector::CTiglCurveConnector | ( | std::map< double, const CCPACSGuideCurve * > & | roots, |
| const std::vector< double > & | params ) |
CTiglCurveConnector interpolates the guide curves for all segments. The interpolation is parametrized with the centripetal method for the given parameters at the sections.
The algorithm interpolates the guide curves for all segments, respecting prescribed tangents and continuity conditions
|
private |
Creates the interpolation order for the partial curves, based on their interdependencies (from/to continuities).
|
private |
Creates the list of partial curves for every connected guide curve recursively.
The list of segmentwise guidecurves for a connected guide curve is broken into partial curves. The breakpoints are at the guidecurve with a prescribed continuity condition.
| TIGL_EXPORT TopoDS_Compound tigl::CTiglCurveConnector::GetConnectedGuideCurves | ( | ) |
Returns the interpolated guide curves of the object.
|
private |
interpolates a partial curve given its continuity conditions and prescribed tangents
It is important that the parts of one guide curve are interpolated in the order given by CreateInterpolationOrder to ensure that the tangents needed for the continuity conditions are available.
|
private |
Verifies that all connected guide curves intersect the same number of segments.
|
private |