CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Returns a parallelepiped (a prism with parallelograms) defined by the parameters loc,
dir1, dir2, dir3 which completeley covers or encloses
the patch of the surface defined by the uvpatch. There are obviously many solutions
to this problem but a parallelepiped with minimum volume would be preferred. This method is used
to optimate intersection algorithms.
Namespace: CADability.GeoObjectAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
void GetPatchHull( BoundingRect uvpatch, out GeoPoint loc, out GeoVector dir1, out GeoVector dir2, out GeoVector dir3 ) |
Visual Basic |
---|
Sub GetPatchHull ( _ uvpatch As BoundingRect, _ <OutAttribute> ByRef loc As GeoPoint, _ <OutAttribute> ByRef dir1 As GeoVector, _ <OutAttribute> ByRef dir2 As GeoVector, _ <OutAttribute> ByRef dir3 As GeoVector _ ) |
Visual C++ |
---|
void GetPatchHull( BoundingRect uvpatch, [OutAttribute] GeoPoint% loc, [OutAttribute] GeoVector% dir1, [OutAttribute] GeoVector% dir2, [OutAttribute] GeoVector% dir3 ) |
Parameters
- uvpatch
- Type: CADability..::..BoundingRect
The patch of the surface in parametric space
- loc
- Type: CADability..::..GeoPoint%
One vertex of the result
- dir1
- Type: CADability..::..GeoVector%
One of the three vectors of the parallelepiped
- dir2
- Type: CADability..::..GeoVector%
One of the three vectors of the parallelepiped
- dir3
- Type: CADability..::..GeoVector%
One of the three vectors of the parallelepiped