CATSketcherUseItf Interface CATISktUse2DLine
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATISktUse2DLine
Interface of 2D Line.
Role: This interface is used to modify 2D Line parameters.
Method Index
- o
SetChamfer(CATISktUse2DCurve*,CATISktUse2DCurve*,double*,double*,double*,int)
- Modifies a chamfer segment.
- o
SetLineData(double*,double*)
- Modifies a 2D Line.
Methods
o SetChamfer
public virtual SetChamfer( | const | iCurve1, |
| const | iCurve2, |
| const | pPoint, |
| const | iParam1 | =NULL, |
| const | iParam2 | =NULL, |
| const | iChamfer | =1) |
-
Modifies a chamfer segment.
- Parameters:
-
- iCurve1
- [in] The first geometric element.
- iCurve2
- [in] The second geometric element.
- pPoint
- [in] The 2D indicate point coordinates.
- iParam1
- [in] The optional first parameter of the chamfer segment.
- iParam2
- [in] The optional second parameter of the chamfer segment.
- iChamfer
- [in] Indicates the computation mode of the chamfer,
thus the significant of the two parameters iParam1 and iParam2:
If iChamfer == 1 (Length of the chamfer and its angle):
iParam1 means the length of the chamfer segment.
iParam2 means the angle of the chamfer segment with the tangent of the first curve
at the nearest intersection point from the 2D indicate point.
If iChamfer == 2 (Length1 and Length2 define the chamfer):
iParam1 means the distance of the chamfer segment with either the intersecting point
between the two curves, if it exists, either the end point of the first curve.
iParam2 means the distance of the chamfer segment with either the intersecting point
between the two curves, if it exists, either the end point of the second curve.
If iChamfer == 3 (Length1 and Angle define the chamfer):
iParam1 means the distance of the chamfer segment with either the intersecting point
between the two curves, if it exists, either the end point of the first curve.
iParam2 means the angle of the chamfer segment with the tangent of the first curve
at the nearest intersection point from the 2D indicate point.
o SetLineData
public virtual SetLineData( | const | pRootPoint, |
| const | pDirection) |
-
Modifies a 2D Line.
- Parameters:
-
- pRootPoint
- [in] The new coordinates of the root point of the line.
- pDirection
- [in] The new coordinates of the direction of the line.
This object is included in the file: CATISktUse2DLine.h
If needed, your Imakefile.mk should include the module: CATSketcherUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.