 | CDUSplitLineXY2 Method |
Break up a line based on tolerance of lateral and horizontal distance, with
options for the output line names.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void SplitLineXY2(
CDB db,
int line,
int x_ch,
int y_ch,
int dirctn,
double tolrnc,
double down_tol,
int method,
ref int first_line,
int line_inc,
int reset_fi_ds
)
public static void SplitLineXY2(
CDB db,
int line,
int x_ch,
int y_ch,
int dirctn,
double tolrnc,
double down_tol,
int method,
ref int first_line,
int line_inc,
int reset_fi_ds
)
Public Shared Sub SplitLineXY2 (
db As CDB,
line As Integer,
x_ch As Integer,
y_ch As Integer,
dirctn As Integer,
tolrnc As Double,
down_tol As Double,
method As Integer,
ByRef first_line As Integer,
line_inc As Integer,
reset_fi_ds As Integer
)
Public Shared Sub SplitLineXY2 (
db As CDB,
line As Integer,
x_ch As Integer,
y_ch As Integer,
dirctn As Integer,
tolrnc As Double,
down_tol As Double,
method As Integer,
ByRef first_line As Integer,
line_inc As Integer,
reset_fi_ds As Integer
)
public:
static void SplitLineXY2(
CDB^ db,
int line,
int x_ch,
int y_ch,
int dirctn,
double tolrnc,
double down_tol,
int method,
int% first_line,
int line_inc,
int reset_fi_ds
)
public:
static void SplitLineXY2(
CDB^ db,
int line,
int x_ch,
int y_ch,
int dirctn,
double tolrnc,
double down_tol,
int method,
int% first_line,
int line_inc,
int reset_fi_ds
)
static member SplitLineXY2 :
db : CDB *
line : int *
x_ch : int *
y_ch : int *
dirctn : int *
tolrnc : float *
down_tol : float *
method : int *
first_line : int byref *
line_inc : int *
reset_fi_ds : int -> unit
static member SplitLineXY2 :
db : CDB *
line : int *
x_ch : int *
y_ch : int *
dirctn : int *
tolrnc : float *
down_tol : float *
method : int *
first_line : int byref *
line_inc : int *
reset_fi_ds : int -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
Database - line
- Type: SystemInt32
Line to be broken up [<define>DB_LOCK_READONLY</define>] - x_ch
- Type: SystemInt32
Channel X [<define>DB_LOCK_READWRITE</define>] - y_ch
- Type: SystemInt32
Channel Y [<define>DB_LOCK_READWRITE</define>] - dirctn
- Type: SystemInt32
Line direction, 0-any, 1-X, 2-Y. - tolrnc
- Type: SystemDouble
Lateral tolerance, DUMMY for the default (10% of the separation between the first two points. - down_tol
- Type: SystemDouble
Downline Tolerance, DUMMY for none - method
- Type: SystemInt32
<define>DU_SPLITLINE</define> - first_line
- Type: SystemInt32
First line in the sequence, for <define>DU_SPLITLINE_SEQUENTIAL</define>. On return, the next line in the sequence. - line_inc
- Type: SystemInt32
Increment in the line number sequence, for <define>DU_SPLITLINE_SEQUENTIAL</define> - reset_fi_ds
- Type: SystemInt32
Reset starting fiducials to zero (0: No, 1: Yes)
RemarksThe same as SplitLineXY, but with an option to reset each line's starting fiducial to zero.
See Also