CADability dotNET
Constructs a line passing through location with the provided direction clipped by the rectangle clippedBy

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

Syntax

C#
public Line2D(
	GeoPoint2D location,
	GeoVector2D direction,
	BoundingRect clippedBy
)
Visual Basic
Public Sub New ( _
	location As GeoPoint2D, _
	direction As GeoVector2D, _
	clippedBy As BoundingRect _
)
Visual C++
public:
Line2D(
	GeoPoint2D location, 
	GeoVector2D direction, 
	BoundingRect clippedBy
)

Parameters

location
Type: CADability..::..GeoPoint2D
Point on the (extension of the) line
direction
Type: CADability..::..GeoVector2D
Direction of the line
clippedBy
Type: CADability..::..BoundingRect
Clipping rectangle

See Also