Click or drag to resize

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
Syntax
public 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
)

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