CADability dotNET
Checks the relative position of two shapes to each other. The order of the parameters is important for the result.

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

Syntax

C#
public static SimpleShape..::..Position GetPosition(
	SimpleShape s1,
	SimpleShape s2
)
Visual Basic
Public Shared Function GetPosition ( _
	s1 As SimpleShape, _
	s2 As SimpleShape _
) As SimpleShape..::..Position
Visual C++
public:
static SimpleShape..::..Position GetPosition(
	SimpleShape^ s1, 
	SimpleShape^ s2
)

Parameters

s1
Type: CADability.Shapes..::..SimpleShape
First shape
s2
Type: CADability.Shapes..::..SimpleShape
Second shape

Return Value

The position

See Also