Table of Contents

Class HeidenhainSegmenter

Namespace
Hi.NcParsers.Segmenters
Assembly
HiMech.dll

Heidenhain NC block builder. Also support single line NC block.

public class HeidenhainSegmenter : ISegmenter, IToXElement
Inheritance
HeidenhainSegmenter
Implements
Inherited Members
Extension Methods

Constructors

HeidenhainSegmenter()

public HeidenhainSegmenter()

Properties

Name

public string Name { get; }

Property Value

string

XName

public static string XName { get; }

Property Value

string

Methods

GetSegment(LazyLinkedListNode<IndexedFileLine>, out LazyLinkedListNode<IndexedFileLine>, out LazyLinkedListNode<IndexedFileLine>, NcDiagnosticProgress)

Get a sentence block according to the srcNode. the srcNode can be any node in the nodes from beginNode to the exclusive endNode.

public void GetSegment(LazyLinkedListNode<IndexedFileLine> srcNode, out LazyLinkedListNode<IndexedFileLine> beginNode, out LazyLinkedListNode<IndexedFileLine> endNode, NcDiagnosticProgress ncDiagnosticProgress)

Parameters

srcNode LazyLinkedListNode<IndexedFileLine>
beginNode LazyLinkedListNode<IndexedFileLine>
endNode LazyLinkedListNode<IndexedFileLine>

exclusive end node

ncDiagnosticProgress NcDiagnosticProgress

ToXElement()

Get the XElement to represent the object.

public XElement ToXElement()

Returns

XElement

XElement to represent the object.