API Reference > OdGe Classes > OdGeLineSeg3d Class > OdGeLineSeg3d Methods > set Method > OdGeLineSeg3d::set Method (OdGeCurve3d&, OdGeCurve3d&, double&, double&, bool&)
OdGeLineSeg3d::set Method (OdGeCurve3d&, OdGeCurve3d&, double&, double&, bool&)
Syntax
C++
OdGeLineSeg3d& set(const OdGeCurve3d& curve1, const OdGeCurve3d& curve2, double& param1, double& param2, bool& success);
Parameters 
Description 
const OdGeCurve3d& curve1 
[in] First 3D curve to which a line segment must be tangent.  
const OdGeCurve3d& curve2 
[in] Second 3D curve to which a line segment must be tangent.  
double& param1 
[in] A point on curve1 where line segment is tangent to curve.  
double& param2 
[in] A point on curve2 where line segment is tangent to curve.  
bool& success 
[out] Indicates that tangent line was computed successfully. 

Sets the parameters for this line segment according to the arguments, and returns a reference to this line segment. 

 

If success returns false, the line segment does not change.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.