CADability dotNET
Returns a BoundingRect in the 2d world coordinate system according to the provided view positions. The view coordinate system is the windows forms system. The 2d world coordinate system is for the parallel projection a plane perpendicular to the projection direction scaled the same way as the model. For the perspective projection it is the back plane of the displayed frustum of pyramid.

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

Syntax

C#
public BoundingRect BoundingRectWorld2d(
	int left,
	int right,
	int bottom,
	int top
)
Visual Basic
Public Function BoundingRectWorld2d ( _
	left As Integer, _
	right As Integer, _
	bottom As Integer, _
	top As Integer _
) As BoundingRect
Visual C++
public:
BoundingRect BoundingRectWorld2d(
	int left, 
	int right, 
	int bottom, 
	int top
)

Parameters

left
Type: System..::..Int32
left position in the view
right
Type: System..::..Int32
rechter Rand
bottom
Type: System..::..Int32
unterer Rand
top
Type: System..::..Int32
oberer Rand

Return Value

See Also