 | CDUSplitLineByDirection2 Method |
The same as SplitLineByDirection, but with the option to maintain line types when outputting sequentially numbered lines.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void SplitLineByDirection2(
CDB db,
int line,
int x_ch,
int y_ch,
double angular_change,
double over_a_distance_of,
double minimum_line_length,
double break_on_separation_distance,
int save_discards,
int method,
ref int first_line,
int line_inc,
int retain_line_type,
int reset_fi_ds
)
public static void SplitLineByDirection2(
CDB db,
int line,
int x_ch,
int y_ch,
double angular_change,
double over_a_distance_of,
double minimum_line_length,
double break_on_separation_distance,
int save_discards,
int method,
ref int first_line,
int line_inc,
int retain_line_type,
int reset_fi_ds
)
Public Shared Sub SplitLineByDirection2 (
db As CDB,
line As Integer,
x_ch As Integer,
y_ch As Integer,
angular_change As Double,
over_a_distance_of As Double,
minimum_line_length As Double,
break_on_separation_distance As Double,
save_discards As Integer,
method As Integer,
ByRef first_line As Integer,
line_inc As Integer,
retain_line_type As Integer,
reset_fi_ds As Integer
)
Public Shared Sub SplitLineByDirection2 (
db As CDB,
line As Integer,
x_ch As Integer,
y_ch As Integer,
angular_change As Double,
over_a_distance_of As Double,
minimum_line_length As Double,
break_on_separation_distance As Double,
save_discards As Integer,
method As Integer,
ByRef first_line As Integer,
line_inc As Integer,
retain_line_type As Integer,
reset_fi_ds As Integer
)
public:
static void SplitLineByDirection2(
CDB^ db,
int line,
int x_ch,
int y_ch,
double angular_change,
double over_a_distance_of,
double minimum_line_length,
double break_on_separation_distance,
int save_discards,
int method,
int% first_line,
int line_inc,
int retain_line_type,
int reset_fi_ds
)
public:
static void SplitLineByDirection2(
CDB^ db,
int line,
int x_ch,
int y_ch,
double angular_change,
double over_a_distance_of,
double minimum_line_length,
double break_on_separation_distance,
int save_discards,
int method,
int% first_line,
int line_inc,
int retain_line_type,
int reset_fi_ds
)
static member SplitLineByDirection2 :
db : CDB *
line : int *
x_ch : int *
y_ch : int *
angular_change : float *
over_a_distance_of : float *
minimum_line_length : float *
break_on_separation_distance : float *
save_discards : int *
method : int *
first_line : int byref *
line_inc : int *
retain_line_type : int *
reset_fi_ds : int -> unit
static member SplitLineByDirection2 :
db : CDB *
line : int *
x_ch : int *
y_ch : int *
angular_change : float *
over_a_distance_of : float *
minimum_line_length : float *
break_on_separation_distance : float *
save_discards : int *
method : int *
first_line : int byref *
line_inc : int *
retain_line_type : 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
X Channel [<define>DB_LOCK_READWRITE</define>]. - y_ch
- Type: SystemInt32
Y Channel [<define>DB_LOCK_READWRITE</define>]. - angular_change
- Type: SystemDouble
Maximum angular change allowed (degrees)... - over_a_distance_of
- Type: SystemDouble
...over a distance of - minimum_line_length
- Type: SystemDouble
Delete lines shorter than (can be <define>rDUMMY</define>) - break_on_separation_distance
- Type: SystemDouble
Break on data XY separation greater than (can be <define>rDUMMY</define>) - save_discards
- Type: SystemInt32
Whether to save too-short segments as special lines or to discard them - method
- Type: SystemInt32
<define>DU_SPLITLINE</define> ONLY DU_SPLITLINEXY_SEQUENTIAL and DU_SPLITLINEXY_VERSIONS - 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> - retain_line_type
- Type: SystemInt32
Maintain line types for <define>DU_SPLITLINE_SEQUENTIAL</define> (0: No, 1: Yes) - reset_fi_ds
- Type: SystemInt32
Reset starting fiducials to zero (0: No, 1: Yes)
RemarksSplit a line based on changes in heading.
See Also