C# Class SolidworksAddinFramework.GetTrimCurves2DataReader

Datei anzeigen Open project: Weingartner/SolidworksAddinFramework

Public Methods

Method Description
GetTrimCurves2DataReader ( double data ) : System
Read ( int n ) : IEnumerable
ReadBufferedIntegers ( int bufferSize, int numberOfBuffers ) : IEnumerable

Read n * b integers and return them in group sizes of b

ReadDouble ( ) : double
ReadDoublesWithoutConsume ( int n ) : IEnumerable
ReadIntegers ( int n ) : IEnumerable

Read n integers from the double array. If n is odd then the next even is thrown away and consumed.

ReadShort ( int n ) : IEnumerable

Read n integers from the double array. If n%4 is not zero then the remaining int16 values are thrown away. and consumed.

Method Details

GetTrimCurves2DataReader() public method

public GetTrimCurves2DataReader ( double data ) : System
data double
return System

Read() public method

public Read ( int n ) : IEnumerable
n int
return IEnumerable

ReadBufferedIntegers() public method

Read n * b integers and return them in group sizes of b
public ReadBufferedIntegers ( int bufferSize, int numberOfBuffers ) : IEnumerable
bufferSize int
numberOfBuffers int
return IEnumerable

ReadDouble() public method

public ReadDouble ( ) : double
return double

ReadDoublesWithoutConsume() public method

public ReadDoublesWithoutConsume ( int n ) : IEnumerable
n int
return IEnumerable

ReadIntegers() public method

Read n integers from the double array. If n is odd then the next even is thrown away and consumed.
public ReadIntegers ( int n ) : IEnumerable
n int
return IEnumerable

ReadShort() public method

Read n integers from the double array. If n%4 is not zero then the remaining int16 values are thrown away. and consumed.
public ReadShort ( int n ) : IEnumerable
n int
return IEnumerable