CADability dotNET
Returns true if this surface and the other surface are geometrically identical, i.e. describe the same surface in 3D space. The may have a different u/v system. The returned firstToSecond contains the ModOp to convert from the u/v system of the first surface to the second surface.

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

Syntax

C#
bool SameGeometry(
	BoundingRect thisBounds,
	ISurface other,
	BoundingRect otherBounds,
	double precision,
	out ModOp2D firstToSecond
)
Visual Basic
Function SameGeometry ( _
	thisBounds As BoundingRect, _
	other As ISurface, _
	otherBounds As BoundingRect, _
	precision As Double, _
	<OutAttribute> ByRef firstToSecond As ModOp2D _
) As Boolean
Visual C++
bool SameGeometry(
	BoundingRect thisBounds, 
	ISurface^ other, 
	BoundingRect otherBounds, 
	double precision, 
	[OutAttribute] ModOp2D% firstToSecond
)

Parameters

thisBounds
Type: CADability..::..BoundingRect
Bounds for this surface
other
Type: CADability.GeoObject..::..ISurface
Other surface
otherBounds
Type: CADability..::..BoundingRect
Bounds of other surface
precision
Type: System..::..Double
Required precision
firstToSecond
Type: CADability..::..ModOp2D%
Transformation between different u/v systems

Return Value

True if the surfaces are geometrically equal

See Also