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] Point on curve1 where line segment is tangent to curve.  
double& param2 
[in] Point on curve2 where line segment is tangent to curve.  
bool& success 
[out] Indicates that tangent line was computed successfully. If false, the line segment does not change. 

Reference to this OdGeLineSeg3d object.

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

 

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