Table of Contents

Class ArcNcArg

Namespace
Hi.Numerical.NcArgs
Assembly
HiUniNc.dll

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 ArcNcArg

The 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

Vec3d

L

circle number. count as once cycle if not approach one cycle.

public int L { get; set; }

Property Value

int

Q

Gets or sets the Q parameter value.

public double Q { get; set; }

Property Value

double

R

Gets or sets the radius value for defining the arc.

public double R { get; set; }

Property Value

double

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 Vec3d

The start point of the arc.

endXyz Vec3d

The end point of the arc.

programOrthogonalPlaneNormal Vec3d

The normal vector of the plane containing the arc.

isCcw bool

True if the arc is counter-clockwise, false if clockwise.

Returns

Vec3d

The center point of the arc.