| CPLYiClipLineInt Method |
Clips a line in or out of the polygons for intersections (GS_DOUBLE).
Intersections are returned as fiducials down the line stored in VV
starting at the first point of the line.
Examples:
No intersection: PLY_LINE_CLIP_OUTSIDE, 0 intersections
Starts outside, ends inside: PLY_LINE_CLIP_OUTSIDE, 1 intersection
Starts outside, intersects then ends inside or outside: PLY_LINE_CLIP_OUTSIDE, 2 intersections
Starts inside, ends inside : PLY_LINE_CLIP_INSIDE, 1 intersection (gives end-of-line)
Starts inside, ends outside : PLY_LINE_CLIP_INSIDE, 1 intersection
Available since Oasis montaj version: 6.3.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax public int iClipLineInt(
double d1,
double d2,
double d3,
double d4,
CVV oVV5,
double d6,
ref int i7
)
Public Function iClipLineInt (
d1 As Double,
d2 As Double,
d3 As Double,
d4 As Double,
oVV5 As CVV,
d6 As Double,
ByRef i7 As Integer
) As Integer
public:
int iClipLineInt(
double d1,
double d2,
double d3,
double d4,
CVV^ oVV5,
double d6,
int% i7
)
member iClipLineInt :
d1 : float *
d2 : float *
d3 : float *
d4 : float *
oVV5 : CVV *
d6 : float *
i7 : int byref -> int
Parameters
- d1
- Type: SystemDouble
min X of line to clip - d2
- Type: SystemDouble
min Y of line to clip - d3
- Type: SystemDouble
max X of line to clip - d4
- Type: SystemDouble
max y of line to clip - oVV5
- Type: GeoEngine.Core.GXNetCVV
DOUBLE VV holding intersection fids - d6
- Type: SystemDouble
data element increment (precision) - i7
- Type: SystemInt32
First point value (PLY_LINE_CLIPConstant value)
Return Value
Type:
Int320, Terminates on error (you can ignore this value)
See Also