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_Vec_4
Class gp_Vec_4
Hierarchy
gp_Vec
gp_Vec_4
Index
Constructors
constructor
Methods
Add
Added
Angle
Angle
With
Ref
Coord_
1
Coord_
2
Cross
Cross
Cross
Cross
Crossed
Cross
Magnitude
Cross
Square
Magnitude
Crossed
Divide
Divided
Dot
Dot
Cross
Dump
Json
Is
Equal
Is
Normal
Is
Opposite
Is
Parallel
Magnitude
Mirror_
1
Mirror_
2
Mirror_
3
Mirrored_
1
Mirrored_
2
Mirrored_
3
Multiplied
Multiply
Normalize
Normalized
Reverse
Reversed
Rotate
Rotated
Scale
Scaled
Set
Coord_
1
Set
Coord_
2
Set
Linear
Form_
1
Set
Linear
Form_
2
Set
Linear
Form_
3
Set
Linear
Form_
4
Set
Linear
Form_
5
Set
Linear
Form_
6
SetX
SetXYZ
SetY
SetZ
Square
Magnitude
Subtract
Subtracted
Transform
Transformed
X
XYZ
Y
Z
delete
Constructors
constructor
new gp_
Vec_
4
(
theXv
:
number
, theYv
:
number
, theZv
:
number
)
:
gp_Vec_4
Parameters
theXv:
number
theYv:
number
theZv:
number
Returns
gp_Vec_4
Methods
Add
Add
(
theOther
:
gp_Vec
)
:
void
Parameters
theOther:
gp_Vec
Returns
void
Added
Added
(
theOther
:
gp_Vec
)
:
gp_Vec
Parameters
theOther:
gp_Vec
Returns
gp_Vec
Angle
Angle
(
theOther
:
gp_Vec
)
:
number
Parameters
theOther:
gp_Vec
Returns
number
Angle
With
Ref
Angle
With
Ref
(
theOther
:
gp_Vec
, theVRef
:
gp_Vec
)
:
number
Parameters
theOther:
gp_Vec
theVRef:
gp_Vec
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_Vec
)
:
void
Parameters
theRight:
gp_Vec
Returns
void
Cross
Cross
Cross
Cross
(
theV1
:
gp_Vec
, theV2
:
gp_Vec
)
:
void
Parameters
theV1:
gp_Vec
theV2:
gp_Vec
Returns
void
Cross
Crossed
Cross
Crossed
(
theV1
:
gp_Vec
, theV2
:
gp_Vec
)
:
gp_Vec
Parameters
theV1:
gp_Vec
theV2:
gp_Vec
Returns
gp_Vec
Cross
Magnitude
Cross
Magnitude
(
theRight
:
gp_Vec
)
:
number
Parameters
theRight:
gp_Vec
Returns
number
Cross
Square
Magnitude
Cross
Square
Magnitude
(
theRight
:
gp_Vec
)
:
number
Parameters
theRight:
gp_Vec
Returns
number
Crossed
Crossed
(
theRight
:
gp_Vec
)
:
gp_Vec
Parameters
theRight:
gp_Vec
Returns
gp_Vec
Divide
Divide
(
theScalar
:
number
)
:
void
Parameters
theScalar:
number
Returns
void
Divided
Divided
(
theScalar
:
number
)
:
gp_Vec
Parameters
theScalar:
number
Returns
gp_Vec
Dot
Dot
(
theOther
:
gp_Vec
)
:
number
Parameters
theOther:
gp_Vec
Returns
number
Dot
Cross
Dot
Cross
(
theV1
:
gp_Vec
, theV2
:
gp_Vec
)
:
number
Parameters
theV1:
gp_Vec
theV2:
gp_Vec
Returns
number
Dump
Json
Dump
Json
(
theOStream
:
Standard_OStream
, theDepth
:
Graphic3d_ZLayerId
)
:
void
Parameters
theOStream:
Standard_OStream
theDepth:
Graphic3d_ZLayerId
Returns
void
Is
Equal
Is
Equal
(
theOther
:
gp_Vec
, theLinearTolerance
:
number
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Vec
theLinearTolerance:
number
theAngularTolerance:
number
Returns
boolean
Is
Normal
Is
Normal
(
theOther
:
gp_Vec
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Vec
theAngularTolerance:
number
Returns
boolean
Is
Opposite
Is
Opposite
(
theOther
:
gp_Vec
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Vec
theAngularTolerance:
number
Returns
boolean
Is
Parallel
Is
Parallel
(
theOther
:
gp_Vec
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Vec
theAngularTolerance:
number
Returns
boolean
Magnitude
Magnitude
(
)
:
number
Returns
number
Mirror_
1
Mirror_
1
(
theV
:
gp_Vec
)
:
void
Parameters
theV:
gp_Vec
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_Vec
)
:
gp_Vec
Parameters
theV:
gp_Vec
Returns
gp_Vec
Mirrored_
2
Mirrored_
2
(
theA1
:
gp_Ax1
)
:
gp_Vec
Parameters
theA1:
gp_Ax1
Returns
gp_Vec
Mirrored_
3
Mirrored_
3
(
theA2
:
gp_Ax2
)
:
gp_Vec
Parameters
theA2:
gp_Ax2
Returns
gp_Vec
Multiplied
Multiplied
(
theScalar
:
number
)
:
gp_Vec
Parameters
theScalar:
number
Returns
gp_Vec
Multiply
Multiply
(
theScalar
:
number
)
:
void
Parameters
theScalar:
number
Returns
void
Normalize
Normalize
(
)
:
void
Returns
void
Normalized
Normalized
(
)
:
gp_Vec
Returns
gp_Vec
Reverse
Reverse
(
)
:
void
Returns
void
Reversed
Reversed
(
)
:
gp_Vec
Returns
gp_Vec
Rotate
Rotate
(
theA1
:
gp_Ax1
, theAng
:
number
)
:
void
Parameters
theA1:
gp_Ax1
theAng:
number
Returns
void
Rotated
Rotated
(
theA1
:
gp_Ax1
, theAng
:
number
)
:
gp_Vec
Parameters
theA1:
gp_Ax1
theAng:
number
Returns
gp_Vec
Scale
Scale
(
theS
:
number
)
:
void
Parameters
theS:
number
Returns
void
Scaled
Scaled
(
theS
:
number
)
:
gp_Vec
Parameters
theS:
number
Returns
gp_Vec
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
Set
Linear
Form_
1
Set
Linear
Form_
1
(
theA1
:
number
, theV1
:
gp_Vec
, theA2
:
number
, theV2
:
gp_Vec
, theA3
:
number
, theV3
:
gp_Vec
, theV4
:
gp_Vec
)
:
void
Parameters
theA1:
number
theV1:
gp_Vec
theA2:
number
theV2:
gp_Vec
theA3:
number
theV3:
gp_Vec
theV4:
gp_Vec
Returns
void
Set
Linear
Form_
2
Set
Linear
Form_
2
(
theA1
:
number
, theV1
:
gp_Vec
, theA2
:
number
, theV2
:
gp_Vec
, theA3
:
number
, theV3
:
gp_Vec
)
:
void
Parameters
theA1:
number
theV1:
gp_Vec
theA2:
number
theV2:
gp_Vec
theA3:
number
theV3:
gp_Vec
Returns
void
Set
Linear
Form_
3
Set
Linear
Form_
3
(
theA1
:
number
, theV1
:
gp_Vec
, theA2
:
number
, theV2
:
gp_Vec
, theV3
:
gp_Vec
)
:
void
Parameters
theA1:
number
theV1:
gp_Vec
theA2:
number
theV2:
gp_Vec
theV3:
gp_Vec
Returns
void
Set
Linear
Form_
4
Set
Linear
Form_
4
(
theA1
:
number
, theV1
:
gp_Vec
, theA2
:
number
, theV2
:
gp_Vec
)
:
void
Parameters
theA1:
number
theV1:
gp_Vec
theA2:
number
theV2:
gp_Vec
Returns
void
Set
Linear
Form_
5
Set
Linear
Form_
5
(
theA1
:
number
, theV1
:
gp_Vec
, theV2
:
gp_Vec
)
:
void
Parameters
theA1:
number
theV1:
gp_Vec
theV2:
gp_Vec
Returns
void
Set
Linear
Form_
6
Set
Linear
Form_
6
(
theV1
:
gp_Vec
, theV2
:
gp_Vec
)
:
void
Parameters
theV1:
gp_Vec
theV2:
gp_Vec
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
Square
Magnitude
Square
Magnitude
(
)
:
number
Returns
number
Subtract
Subtract
(
theRight
:
gp_Vec
)
:
void
Parameters
theRight:
gp_Vec
Returns
void
Subtracted
Subtracted
(
theRight
:
gp_Vec
)
:
gp_Vec
Parameters
theRight:
gp_Vec
Returns
gp_Vec
Transform
Transform
(
theT
:
gp_Trsf
)
:
void
Parameters
theT:
gp_Trsf
Returns
void
Transformed
Transformed
(
theT
:
gp_Trsf
)
:
gp_Vec
Parameters
theT:
gp_Trsf
Returns
gp_Vec
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_
Vec_
4
constructor
Add
Added
Angle
Angle
With
Ref
Coord_
1
Coord_
2
Cross
Cross
Cross
Cross
Crossed
Cross
Magnitude
Cross
Square
Magnitude
Crossed
Divide
Divided
Dot
Dot
Cross
Dump
Json
Is
Equal
Is
Normal
Is
Opposite
Is
Parallel
Magnitude
Mirror_
1
Mirror_
2
Mirror_
3
Mirrored_
1
Mirrored_
2
Mirrored_
3
Multiplied
Multiply
Normalize
Normalized
Reverse
Reversed
Rotate
Rotated
Scale
Scaled
Set
Coord_
1
Set
Coord_
2
Set
Linear
Form_
1
Set
Linear
Form_
2
Set
Linear
Form_
3
Set
Linear
Form_
4
Set
Linear
Form_
5
Set
Linear
Form_
6
SetX
SetXYZ
SetY
SetZ
Square
Magnitude
Subtract
Subtracted
Transform
Transformed
X
XYZ
Y
Z
delete
Generated using
TypeDoc