Share

set Method

Overload List

Method Description
AcGeLineSeg3d::set (AcGeCurve3d&, AcGeCurve3d&, double&, double&, Adesk::Boolean&) Changes the definition of the line segment so that the line segment is tangent to the two input curves. On input, param1 and param2 are assumed to contain initial guess values to the parameters of the two tangent points. The output parameter success is set to true if the line segment was computed successfully. If success is returned as 0, the line segment remains unchanged.
AcGeLineSeg3d::set (AcGeCurve3d&, AcGePoint3d&, double&, Adesk::Boolean&) Changes the definition of the line segment so that the line segment passes through the input point and is tangent to the input curve. The curve must be planar and the input point must lie on the plane of the curve. On input, param is assumed to contain an initial guess value to the parameter of the tangent point. The output parameter success is set to true if the line segment was computed successfully. If success is returned as 0, the line segment remains unchanged.
AcGeLineSeg3d::set (AcGePoint3d&, AcGePoint3d&) Changes the definition of the line segment so that the start point is pnt1 and the endpoint is pnt2. pnt1 and pnt2 must not be the same point.
AcGeLineSeg3d::set (AcGePoint3d&, AcGeVector3d&) Changes the definition of the line segment so that the start point is pnt and the endpoint is pnt+vec. vec must not be a zero-length vector.

Was this information helpful?