 | CPLYiClipLineInt Method |
Clips a line in or out of the polygons for intersections (<define>GS_DOUBLE</define>).
Intersections are returned as fiducials down the line stored in VV
starting at the first point of the line.
Examples:
No intersection: <define>PLY_LINE_CLIP_OUTSIDE</define>, 0 intersections
Starts outside, ends inside: <define>PLY_LINE_CLIP_OUTSIDE</define>, 1 intersection
Starts outside, intersects then ends inside or outside: <define>PLY_LINE_CLIP_OUTSIDE</define>, 2 intersections
Starts inside, ends inside : <define>PLY_LINE_CLIP_INSIDE</define>, 1 intersection (gives end-of-line)
Starts inside, ends outside : <define>PLY_LINE_CLIP_INSIDE</define>, 1 intersection
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic int iClipLineInt(
double min_x,
double min_y,
double max_x,
double max_y,
CVV vv,
double inc,
ref int first
)
public int iClipLineInt(
double min_x,
double min_y,
double max_x,
double max_y,
CVV vv,
double inc,
ref int first
)
Public Function iClipLineInt (
min_x As Double,
min_y As Double,
max_x As Double,
max_y As Double,
vv As CVV,
inc As Double,
ByRef first As Integer
) As Integer
Public Function iClipLineInt (
min_x As Double,
min_y As Double,
max_x As Double,
max_y As Double,
vv As CVV,
inc As Double,
ByRef first As Integer
) As Integer
public:
int iClipLineInt(
double min_x,
double min_y,
double max_x,
double max_y,
CVV^ vv,
double inc,
int% first
)
public:
int iClipLineInt(
double min_x,
double min_y,
double max_x,
double max_y,
CVV^ vv,
double inc,
int% first
)
member iClipLineInt :
min_x : float *
min_y : float *
max_x : float *
max_y : float *
vv : CVV *
inc : float *
first : int byref -> int
member iClipLineInt :
min_x : float *
min_y : float *
max_x : float *
max_y : float *
vv : CVV *
inc : float *
first : int byref -> int
Parameters
- min_x
- Type: SystemDouble
Min X of line to clip - min_y
- Type: SystemDouble
Min Y of line to clip - max_x
- Type: SystemDouble
Max X of line to clip - max_y
- Type: SystemDouble
Max y of line to clip - vv
- Type: GeoEngine.Core.GXNetXCVV
DOUBLE VV holding intersection fids - inc
- Type: SystemDouble
Data element increment (precision) - first
- Type: SystemInt32
First point value (<define>PLY_LINE_CLIP</define> value)
Return Value
Type:
Int320, Terminates on error (you can ignore this value)
See Also