Share

AcGeCurve3d::getSplitCurves

C++

GE_DLLEXPIMPORT void getSplitCurves(
    double param, 
    AcGeCurve3d* & piece1, 
    AcGeCurve3d* & piece2
) const;

Description

Returns two segments which are obtained by splitting the curve at the input parameter value.

If the specified parameter value does not lie within the parametric interval of the curve or if it corresponds to the start point or endpoint of the curve, then piece1 and piece2 are set to null.

This function uses the new to create the curve segments whose addresses are returned in piece1 and piece2. It is the responsibility of the caller to delete these objects.

Parameters

Parameters Description
param Input parameter value at which curve is to be split
piece1 Output pointer to first curve segment
piece2 Output pointer to second curve segment

Links

AcGeCurve3d

Was this information helpful?