Click or drag to resize
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.GXNet
Assembly: 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
)

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: Int32
0, Terminates on error (you can ignore this value)
See Also