CADability dotNET
Clips the provided line (defined by start and end) by this cube. Returns true if the line interferes with this boundingcube, modifies the start and endpoint in the parameters if clipping occures

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public bool ClipLine(
	ref GeoPoint start,
	ref GeoPoint end
)
Visual Basic
Public Function ClipLine ( _
	ByRef start As GeoPoint, _
	ByRef end As GeoPoint _
) As Boolean
Visual C++
public:
bool ClipLine(
	GeoPoint% start, 
	GeoPoint% end
)

Parameters

start
Type: CADability..::..GeoPoint%
Startpoint of the line, may be changed upon return
end
Type: CADability..::..GeoPoint%
Endpoint of the line, may be changed upon return

Return Value

true if the line and this cube interfere

See Also