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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user