1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +03:00

0026121: Visualization - revise implementation of point sets used in Select3D_SensitiveFace

Code duplication was eliminated by removing constructors with handle input arrays
This commit is contained in:
vpa
2015-04-30 18:08:55 +03:00
committed by bugmaster
parent 7693827d4a
commit 1c22cc2d27
5 changed files with 24 additions and 134 deletions

View File

@@ -57,11 +57,11 @@ Select3D_SensitiveFace::Select3D_SensitiveFace (const Handle(SelectBasics_Entity
{
if (mySensType == Select3D_TOS_INTERIOR)
{
myFacePoints = new Select3D_InteriorSensitivePointSet (theOwnerId, thePoints);
myFacePoints = new Select3D_InteriorSensitivePointSet (theOwnerId, thePoints->Array1());
}
else
{
myFacePoints = new Select3D_BoundarySensitivePointSet (theOwnerId, thePoints);
myFacePoints = new Select3D_BoundarySensitivePointSet (theOwnerId, thePoints->Array1());
}
}