Search
Preparing search index...
The search index is not available
OpenCascade.js - v2.0.0-beta.533428a
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
OpenCascade.js - v2.0.0-beta.533428a
SelectMgr_SelectingVolumeManager
Class SelectMgr_SelectingVolumeManager
Hierarchy
SelectBasics_SelectingVolumeManager
SelectMgr_SelectingVolumeManager
Index
Constructors
constructor
Methods
Active
Volume
Allow
Overlap
Detection
Build
Selecting
Volume_
1
Build
Selecting
Volume_
2
Build
Selecting
Volume_
3
Build
Selecting
Volume_
4
Camera
Detected
Point
Dist
To
Geometry
Center
Dump
Json
Get
Active
Selection
Type
Get
Far
Picked
Pnt
Get
Mouse
Position
Get
Near
Picked
Pnt
Get
Planes
Get
Vertices
Get
View
Ray
Direction
Init
Axis
Selecting
Volume
Init
Box
Selecting
Volume
Init
Point
Selecting
Volume
Init
Polyline
Selecting
Volume
Init
Selecting
Volume
Is
Overlap
Allowed
Is
Scalable
Active
Volume
Object
Clipping
Overlaps
Box_
1
Overlaps
Box_
2
Overlaps
Cylinder_
1
Overlaps
Cylinder_
2
Overlaps
Point_
1
Overlaps
Point_
2
Overlaps
Polygon
Overlaps
Segment
Overlaps
Sphere_
1
Overlaps
Sphere_
2
Overlaps
Triangle
Overlaps_
1
Overlaps_
2
Overlaps_
3
Overlaps_
4
Overlaps_
5
Overlaps_
6
Overlaps_
7
Overlaps_
8
Scale
And
Transform
Set
Camera
Set
Pixel
Tolerance
Set
View
Clip
Ranges
Set
View
Clipping_
1
Set
View
Clipping_
2
Set
Viewport
Set
Window
Size
View
Clip
Ranges
View
Clipping
Window
Size
delete
Constructors
constructor
new
Select
Mgr_
Selecting
Volume
Manager
(
)
:
SelectMgr_SelectingVolumeManager
Returns
SelectMgr_SelectingVolumeManager
Methods
Active
Volume
Active
Volume
(
)
:
any
Returns
any
Allow
Overlap
Detection
Allow
Overlap
Detection
(
theIsToAllow
:
boolean
)
:
void
Parameters
theIsToAllow:
boolean
Returns
void
Build
Selecting
Volume_
1
Build
Selecting
Volume_
1
(
)
:
void
Returns
void
Build
Selecting
Volume_
2
Build
Selecting
Volume_
2
(
thePoint
:
gp_Pnt2d
)
:
void
Parameters
thePoint:
gp_Pnt2d
Returns
void
Build
Selecting
Volume_
3
Build
Selecting
Volume_
3
(
theMinPt
:
gp_Pnt2d
, theMaxPt
:
gp_Pnt2d
)
:
void
Parameters
theMinPt:
gp_Pnt2d
theMaxPt:
gp_Pnt2d
Returns
void
Build
Selecting
Volume_
4
Build
Selecting
Volume_
4
(
thePoints
:
TColgp_Array1OfPnt2d
)
:
void
Parameters
thePoints:
TColgp_Array1OfPnt2d
Returns
void
Camera
Camera
(
)
:
Handle_Graphic3d_Camera
Returns
Handle_Graphic3d_Camera
Detected
Point
Detected
Point
(
theDepth
:
number
)
:
gp_Pnt
Parameters
theDepth:
number
Returns
gp_Pnt
Dist
To
Geometry
Center
Dist
To
Geometry
Center
(
theCOG
:
gp_Pnt
)
:
number
Parameters
theCOG:
gp_Pnt
Returns
number
Dump
Json
Dump
Json
(
theOStream
:
Standard_OStream
, theDepth
:
Graphic3d_ZLayerId
)
:
void
Parameters
theOStream:
Standard_OStream
theDepth:
Graphic3d_ZLayerId
Returns
void
Get
Active
Selection
Type
Get
Active
Selection
Type
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Get
Far
Picked
Pnt
Get
Far
Picked
Pnt
(
)
:
gp_Pnt
Returns
gp_Pnt
Get
Mouse
Position
Get
Mouse
Position
(
)
:
gp_Pnt2d
Returns
gp_Pnt2d
Get
Near
Picked
Pnt
Get
Near
Picked
Pnt
(
)
:
gp_Pnt
Returns
gp_Pnt
Get
Planes
Get
Planes
(
thePlaneEquations
:
NCollection_Vector
<
SelectMgr_Vec4
>
)
:
void
Parameters
thePlaneEquations:
NCollection_Vector
<
SelectMgr_Vec4
>
Returns
void
Get
Vertices
Get
Vertices
(
)
:
gp_Pnt
Returns
gp_Pnt
Get
View
Ray
Direction
Get
View
Ray
Direction
(
)
:
gp_Dir
Returns
gp_Dir
Init
Axis
Selecting
Volume
Init
Axis
Selecting
Volume
(
theAxis
:
gp_Ax1
)
:
void
Parameters
theAxis:
gp_Ax1
Returns
void
Init
Box
Selecting
Volume
Init
Box
Selecting
Volume
(
theMinPt
:
gp_Pnt2d
, theMaxPt
:
gp_Pnt2d
)
:
void
Parameters
theMinPt:
gp_Pnt2d
theMaxPt:
gp_Pnt2d
Returns
void
Init
Point
Selecting
Volume
Init
Point
Selecting
Volume
(
thePoint
:
gp_Pnt2d
)
:
void
Parameters
thePoint:
gp_Pnt2d
Returns
void
Init
Polyline
Selecting
Volume
Init
Polyline
Selecting
Volume
(
thePoints
:
TColgp_Array1OfPnt2d
)
:
void
Parameters
thePoints:
TColgp_Array1OfPnt2d
Returns
void
Init
Selecting
Volume
Init
Selecting
Volume
(
theVolume
:
any
)
:
void
Parameters
theVolume:
any
Returns
void
Is
Overlap
Allowed
Is
Overlap
Allowed
(
)
:
boolean
Returns
boolean
Is
Scalable
Active
Volume
Is
Scalable
Active
Volume
(
)
:
boolean
Returns
boolean
Object
Clipping
Object
Clipping
(
)
:
Handle_Graphic3d_SequenceOfHClipPlane
Returns
Handle_Graphic3d_SequenceOfHClipPlane
Overlaps
Box_
1
Overlaps
Box_
1
(
theBoxMin
:
SelectMgr_Vec3
, theBoxMax
:
SelectMgr_Vec3
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
theBoxMin:
SelectMgr_Vec3
theBoxMax:
SelectMgr_Vec3
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps
Box_
2
Overlaps
Box_
2
(
theBoxMin
:
SelectMgr_Vec3
, theBoxMax
:
SelectMgr_Vec3
, theInside
:
boolean
)
:
boolean
Parameters
theBoxMin:
SelectMgr_Vec3
theBoxMax:
SelectMgr_Vec3
theInside:
boolean
Returns
boolean
Overlaps
Cylinder_
1
Overlaps
Cylinder_
1
(
theBottomRad
:
number
, theTopRad
:
number
, theHeight
:
number
, theTrsf
:
gp_Trsf
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
theBottomRad:
number
theTopRad:
number
theHeight:
number
theTrsf:
gp_Trsf
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps
Cylinder_
2
Overlaps
Cylinder_
2
(
theBottomRad
:
number
, theTopRad
:
number
, theHeight
:
number
, theTrsf
:
gp_Trsf
, theInside
:
boolean
)
:
boolean
Parameters
theBottomRad:
number
theTopRad:
number
theHeight:
number
theTrsf:
gp_Trsf
theInside:
boolean
Returns
boolean
Overlaps
Point_
1
Overlaps
Point_
1
(
thePnt
:
gp_Pnt
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
thePnt:
gp_Pnt
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps
Point_
2
Overlaps
Point_
2
(
thePnt
:
gp_Pnt
)
:
boolean
Parameters
thePnt:
gp_Pnt
Returns
boolean
Overlaps
Polygon
Overlaps
Polygon
(
theArrayOfPts
:
TColgp_Array1OfPnt
, theSensType
:
Graphic3d_ZLayerId
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
theArrayOfPts:
TColgp_Array1OfPnt
theSensType:
Graphic3d_ZLayerId
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps
Segment
Overlaps
Segment
(
thePnt1
:
gp_Pnt
, thePnt2
:
gp_Pnt
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
thePnt1:
gp_Pnt
thePnt2:
gp_Pnt
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps
Sphere_
1
Overlaps
Sphere_
1
(
theCenter
:
gp_Pnt
, theRadius
:
number
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
theCenter:
gp_Pnt
theRadius:
number
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps
Sphere_
2
Overlaps
Sphere_
2
(
theCenter
:
gp_Pnt
, theRadius
:
number
, theInside
:
boolean
)
:
boolean
Parameters
theCenter:
gp_Pnt
theRadius:
number
theInside:
boolean
Returns
boolean
Overlaps
Triangle
Overlaps
Triangle
(
thePnt1
:
gp_Pnt
, thePnt2
:
gp_Pnt
, thePnt3
:
gp_Pnt
, theSensType
:
Graphic3d_ZLayerId
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
thePnt1:
gp_Pnt
thePnt2:
gp_Pnt
thePnt3:
gp_Pnt
theSensType:
Graphic3d_ZLayerId
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps_
1
Overlaps_
1
(
theBoxMin
:
Graphic3d_Vec3d
, theBoxMax
:
Graphic3d_Vec3d
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
theBoxMin:
Graphic3d_Vec3d
theBoxMax:
Graphic3d_Vec3d
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps_
2
Overlaps_
2
(
theBoxMin
:
Graphic3d_Vec3d
, theBoxMax
:
Graphic3d_Vec3d
, theInside
:
boolean
)
:
boolean
Parameters
theBoxMin:
Graphic3d_Vec3d
theBoxMax:
Graphic3d_Vec3d
theInside:
boolean
Returns
boolean
Overlaps_
3
Overlaps_
3
(
thePnt
:
gp_Pnt
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
thePnt:
gp_Pnt
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps_
4
Overlaps_
4
(
thePnt
:
gp_Pnt
)
:
boolean
Parameters
thePnt:
gp_Pnt
Returns
boolean
Overlaps_
5
Overlaps_
5
(
theArrayOfPts
:
Handle_TColgp_HArray1OfPnt
, theSensType
:
Graphic3d_ZLayerId
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
theArrayOfPts:
Handle_TColgp_HArray1OfPnt
theSensType:
Graphic3d_ZLayerId
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps_
6
Overlaps_
6
(
theArrayOfPts
:
TColgp_Array1OfPnt
, theSensType
:
Graphic3d_ZLayerId
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
theArrayOfPts:
TColgp_Array1OfPnt
theSensType:
Graphic3d_ZLayerId
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps_
7
Overlaps_
7
(
thePnt1
:
gp_Pnt
, thePnt2
:
gp_Pnt
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
thePnt1:
gp_Pnt
thePnt2:
gp_Pnt
thePickResult:
SelectBasics_PickResult
Returns
boolean
Overlaps_
8
Overlaps_
8
(
thePnt1
:
gp_Pnt
, thePnt2
:
gp_Pnt
, thePnt3
:
gp_Pnt
, theSensType
:
Graphic3d_ZLayerId
, thePickResult
:
SelectBasics_PickResult
)
:
boolean
Parameters
thePnt1:
gp_Pnt
thePnt2:
gp_Pnt
thePnt3:
gp_Pnt
theSensType:
Graphic3d_ZLayerId
thePickResult:
SelectBasics_PickResult
Returns
boolean
Scale
And
Transform
Scale
And
Transform
(
theScaleFactor
:
Graphic3d_ZLayerId
, theTrsf
:
gp_GTrsf
, theBuilder
:
Handle_SelectMgr_FrustumBuilder
)
:
SelectMgr_SelectingVolumeManager
Parameters
theScaleFactor:
Graphic3d_ZLayerId
theTrsf:
gp_GTrsf
theBuilder:
Handle_SelectMgr_FrustumBuilder
Returns
SelectMgr_SelectingVolumeManager
Set
Camera
Set
Camera
(
theCamera
:
Handle_Graphic3d_Camera
)
:
void
Parameters
theCamera:
Handle_Graphic3d_Camera
Returns
void
Set
Pixel
Tolerance
Set
Pixel
Tolerance
(
theTolerance
:
Graphic3d_ZLayerId
)
:
void
Parameters
theTolerance:
Graphic3d_ZLayerId
Returns
void
Set
View
Clip
Ranges
Set
View
Clip
Ranges
(
theRange
:
SelectMgr_ViewClipRange
)
:
void
Parameters
theRange:
SelectMgr_ViewClipRange
Returns
void
Set
View
Clipping_
1
Set
View
Clipping_
1
(
theViewPlanes
:
Handle_Graphic3d_SequenceOfHClipPlane
, theObjPlanes
:
Handle_Graphic3d_SequenceOfHClipPlane
, theWorldSelMgr
:
SelectMgr_SelectingVolumeManager
)
:
void
Parameters
theViewPlanes:
Handle_Graphic3d_SequenceOfHClipPlane
theObjPlanes:
Handle_Graphic3d_SequenceOfHClipPlane
theWorldSelMgr:
SelectMgr_SelectingVolumeManager
Returns
void
Set
View
Clipping_
2
Set
View
Clipping_
2
(
theOther
:
SelectMgr_SelectingVolumeManager
)
:
void
Parameters
theOther:
SelectMgr_SelectingVolumeManager
Returns
void
Set
Viewport
Set
Viewport
(
theX
:
number
, theY
:
number
, theWidth
:
number
, theHeight
:
number
)
:
void
Parameters
theX:
number
theY:
number
theWidth:
number
theHeight:
number
Returns
void
Set
Window
Size
Set
Window
Size
(
theWidth
:
Graphic3d_ZLayerId
, theHeight
:
Graphic3d_ZLayerId
)
:
void
Parameters
theWidth:
Graphic3d_ZLayerId
theHeight:
Graphic3d_ZLayerId
Returns
void
View
Clip
Ranges
View
Clip
Ranges
(
)
:
SelectMgr_ViewClipRange
Returns
SelectMgr_ViewClipRange
View
Clipping
View
Clipping
(
)
:
Handle_Graphic3d_SequenceOfHClipPlane
Returns
Handle_Graphic3d_SequenceOfHClipPlane
Window
Size
Window
Size
(
theWidth
:
Graphic3d_ZLayerId
, theHeight
:
Graphic3d_ZLayerId
)
:
void
Parameters
theWidth:
Graphic3d_ZLayerId
theHeight:
Graphic3d_ZLayerId
Returns
void
delete
delete
(
)
:
void
Returns
void
Exports
Select
Mgr_
Selecting
Volume
Manager
constructor
Active
Volume
Allow
Overlap
Detection
Build
Selecting
Volume_
1
Build
Selecting
Volume_
2
Build
Selecting
Volume_
3
Build
Selecting
Volume_
4
Camera
Detected
Point
Dist
To
Geometry
Center
Dump
Json
Get
Active
Selection
Type
Get
Far
Picked
Pnt
Get
Mouse
Position
Get
Near
Picked
Pnt
Get
Planes
Get
Vertices
Get
View
Ray
Direction
Init
Axis
Selecting
Volume
Init
Box
Selecting
Volume
Init
Point
Selecting
Volume
Init
Polyline
Selecting
Volume
Init
Selecting
Volume
Is
Overlap
Allowed
Is
Scalable
Active
Volume
Object
Clipping
Overlaps
Box_
1
Overlaps
Box_
2
Overlaps
Cylinder_
1
Overlaps
Cylinder_
2
Overlaps
Point_
1
Overlaps
Point_
2
Overlaps
Polygon
Overlaps
Segment
Overlaps
Sphere_
1
Overlaps
Sphere_
2
Overlaps
Triangle
Overlaps_
1
Overlaps_
2
Overlaps_
3
Overlaps_
4
Overlaps_
5
Overlaps_
6
Overlaps_
7
Overlaps_
8
Scale
And
Transform
Set
Camera
Set
Pixel
Tolerance
Set
View
Clip
Ranges
Set
View
Clipping_
1
Set
View
Clipping_
2
Set
Viewport
Set
Window
Size
View
Clip
Ranges
View
Clipping
Window
Size
delete
Generated using
TypeDoc