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
gp_Dir_2
Class gp_Dir_2
Hierarchy
gp_Dir
gp_Dir_2
Index
Constructors
constructor
Methods
Angle
Angle
With
Ref
Coord_
1
Coord_
2
Cross
Cross
Cross
Cross
Crossed
Crossed
Dot
Dot
Cross
Dump
Json
Init
From
Json
Is
Equal
Is
Normal
Is
Opposite
Is
Parallel
Mirror_
1
Mirror_
2
Mirror_
3
Mirrored_
1
Mirrored_
2
Mirrored_
3
Reverse
Reversed
Rotate
Rotated
Set
Coord_
1
Set
Coord_
2
SetX
SetXYZ
SetY
SetZ
Transform
Transformed
X
XYZ
Y
Z
delete
Constructors
constructor
new gp_
Dir_
2
(
theV
:
gp_Vec
)
:
gp_Dir_2
Parameters
theV:
gp_Vec
Returns
gp_Dir_2
Methods
Angle
Angle
(
theOther
:
gp_Dir
)
:
number
Parameters
theOther:
gp_Dir
Returns
number
Angle
With
Ref
Angle
With
Ref
(
theOther
:
gp_Dir
, theVRef
:
gp_Dir
)
:
number
Parameters
theOther:
gp_Dir
theVRef:
gp_Dir
Returns
number
Coord_
1
Coord_
1
(
theIndex
:
Graphic3d_ZLayerId
)
:
number
Parameters
theIndex:
Graphic3d_ZLayerId
Returns
number
Coord_
2
Coord_
2
(
theXv
:
number
, theYv
:
number
, theZv
:
number
)
:
void
Parameters
theXv:
number
theYv:
number
theZv:
number
Returns
void
Cross
Cross
(
theRight
:
gp_Dir
)
:
void
Parameters
theRight:
gp_Dir
Returns
void
Cross
Cross
Cross
Cross
(
theV1
:
gp_Dir
, theV2
:
gp_Dir
)
:
void
Parameters
theV1:
gp_Dir
theV2:
gp_Dir
Returns
void
Cross
Crossed
Cross
Crossed
(
theV1
:
gp_Dir
, theV2
:
gp_Dir
)
:
gp_Dir
Parameters
theV1:
gp_Dir
theV2:
gp_Dir
Returns
gp_Dir
Crossed
Crossed
(
theRight
:
gp_Dir
)
:
gp_Dir
Parameters
theRight:
gp_Dir
Returns
gp_Dir
Dot
Dot
(
theOther
:
gp_Dir
)
:
number
Parameters
theOther:
gp_Dir
Returns
number
Dot
Cross
Dot
Cross
(
theV1
:
gp_Dir
, theV2
:
gp_Dir
)
:
number
Parameters
theV1:
gp_Dir
theV2:
gp_Dir
Returns
number
Dump
Json
Dump
Json
(
theOStream
:
Standard_OStream
, theDepth
:
Graphic3d_ZLayerId
)
:
void
Parameters
theOStream:
Standard_OStream
theDepth:
Graphic3d_ZLayerId
Returns
void
Init
From
Json
Init
From
Json
(
theSStream
:
Standard_SStream
, theStreamPos
:
Graphic3d_ZLayerId
)
:
boolean
Parameters
theSStream:
Standard_SStream
theStreamPos:
Graphic3d_ZLayerId
Returns
boolean
Is
Equal
Is
Equal
(
theOther
:
gp_Dir
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Dir
theAngularTolerance:
number
Returns
boolean
Is
Normal
Is
Normal
(
theOther
:
gp_Dir
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Dir
theAngularTolerance:
number
Returns
boolean
Is
Opposite
Is
Opposite
(
theOther
:
gp_Dir
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Dir
theAngularTolerance:
number
Returns
boolean
Is
Parallel
Is
Parallel
(
theOther
:
gp_Dir
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Dir
theAngularTolerance:
number
Returns
boolean
Mirror_
1
Mirror_
1
(
theV
:
gp_Dir
)
:
void
Parameters
theV:
gp_Dir
Returns
void
Mirror_
2
Mirror_
2
(
theA1
:
gp_Ax1
)
:
void
Parameters
theA1:
gp_Ax1
Returns
void
Mirror_
3
Mirror_
3
(
theA2
:
gp_Ax2
)
:
void
Parameters
theA2:
gp_Ax2
Returns
void
Mirrored_
1
Mirrored_
1
(
theV
:
gp_Dir
)
:
gp_Dir
Parameters
theV:
gp_Dir
Returns
gp_Dir
Mirrored_
2
Mirrored_
2
(
theA1
:
gp_Ax1
)
:
gp_Dir
Parameters
theA1:
gp_Ax1
Returns
gp_Dir
Mirrored_
3
Mirrored_
3
(
theA2
:
gp_Ax2
)
:
gp_Dir
Parameters
theA2:
gp_Ax2
Returns
gp_Dir
Reverse
Reverse
(
)
:
void
Returns
void
Reversed
Reversed
(
)
:
gp_Dir
Returns
gp_Dir
Rotate
Rotate
(
theA1
:
gp_Ax1
, theAng
:
number
)
:
void
Parameters
theA1:
gp_Ax1
theAng:
number
Returns
void
Rotated
Rotated
(
theA1
:
gp_Ax1
, theAng
:
number
)
:
gp_Dir
Parameters
theA1:
gp_Ax1
theAng:
number
Returns
gp_Dir
Set
Coord_
1
Set
Coord_
1
(
theIndex
:
Graphic3d_ZLayerId
, theXi
:
number
)
:
void
Parameters
theIndex:
Graphic3d_ZLayerId
theXi:
number
Returns
void
Set
Coord_
2
Set
Coord_
2
(
theXv
:
number
, theYv
:
number
, theZv
:
number
)
:
void
Parameters
theXv:
number
theYv:
number
theZv:
number
Returns
void
SetX
SetX
(
theX
:
number
)
:
void
Parameters
theX:
number
Returns
void
SetXYZ
SetXYZ
(
theCoord
:
gp_XYZ
)
:
void
Parameters
theCoord:
gp_XYZ
Returns
void
SetY
SetY
(
theY
:
number
)
:
void
Parameters
theY:
number
Returns
void
SetZ
SetZ
(
theZ
:
number
)
:
void
Parameters
theZ:
number
Returns
void
Transform
Transform
(
theT
:
gp_Trsf
)
:
void
Parameters
theT:
gp_Trsf
Returns
void
Transformed
Transformed
(
theT
:
gp_Trsf
)
:
gp_Dir
Parameters
theT:
gp_Trsf
Returns
gp_Dir
X
X
(
)
:
number
Returns
number
XYZ
XYZ
(
)
:
gp_XYZ
Returns
gp_XYZ
Y
Y
(
)
:
number
Returns
number
Z
Z
(
)
:
number
Returns
number
delete
delete
(
)
:
void
Returns
void
Exports
gp_
Dir_
2
constructor
Angle
Angle
With
Ref
Coord_
1
Coord_
2
Cross
Cross
Cross
Cross
Crossed
Crossed
Dot
Dot
Cross
Dump
Json
Init
From
Json
Is
Equal
Is
Normal
Is
Opposite
Is
Parallel
Mirror_
1
Mirror_
2
Mirror_
3
Mirrored_
1
Mirrored_
2
Mirrored_
3
Reverse
Reversed
Rotate
Rotated
Set
Coord_
1
Set
Coord_
2
SetX
SetXYZ
SetY
SetZ
Transform
Transformed
X
XYZ
Y
Z
delete
Generated using
TypeDoc