TArclengthRange

The TArclengthRange data structure is used to specify arclength ranges for range graph results functions. It is used when calling C_GetRangeGraphNumOfPoints3 and C_GetRangeGraph4.

typedef struct {

int Size;

int Mode;

double FromArclength;

double ToArclength;

int FromSection;

int ToSection;

} TArclengthRange;

Members

Size

Specifies the size, in bytes, of this data structure. Set this member to sizeof(TArclengthRange) before calling a function with a TArclengthRange parameter.

Mode

Can be one of:

FromArclength

Only used when Mode equals armSpecifiedArclengths. A value of OrcinaDefaultReal() is interpreted to mean the beginning of the line.

ToArclength

Only used when Mode equals armSpecifiedArclengths. A value of OrcinaDefaultReal() is interpreted to mean the end of the line.

FromSection

Only used when Mode equals armSpecifiedSections. A value ≤ 0 is interpreted to mean the beginning of the line.

ToSection

Only used when Mode equals armSpecifiedSections. A value ≤ 0 is interpreted to mean the end of the line.

See also

C_GetRangeGraphNumOfPoints3, C_GetRangeGraph4.