Class ArcNcArg
Arc parameters for NcLine. Arc comes from G02,G03.
public class ArcNcArg
- Inheritance
-
ArcNcArg
- Inherited Members
- Extension Methods
Constructors
ArcNcArg()
Initializes a new instance of the ArcNcArg class.
public ArcNcArg()
ArcNcArg(ArcNcArg)
Initializes a new instance of the ArcNcArg class by copying an existing instance.
public ArcNcArg(ArcNcArg src)
Parameters
src
ArcNcArgThe source instance to copy.
Properties
Ijk
Gets or sets the I, J, K values that define the center of the arc.
public Vec3d Ijk { get; set; }
Property Value
L
circle number. count as once cycle if not approach one cycle.
public int L { get; set; }
Property Value
Q
Gets or sets the Q parameter value.
public double Q { get; set; }
Property Value
R
Gets or sets the radius value for defining the arc.
public double R { get; set; }
Property Value
Methods
GetCenterOrCenterOnBeginPlane(Vec3d, Vec3d, Vec3d, bool)
Calculates the center point of the arc.
public Vec3d GetCenterOrCenterOnBeginPlane(Vec3d beginXyz, Vec3d endXyz, Vec3d programOrthogonalPlaneNormal, bool isCcw)
Parameters
beginXyz
Vec3dThe start point of the arc.
endXyz
Vec3dThe end point of the arc.
programOrthogonalPlaneNormal
Vec3dThe normal vector of the plane containing the arc.
isCcw
boolTrue if the arc is counter-clockwise, false if clockwise.
Returns
- Vec3d
The center point of the arc.