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_Vec2d_2
Class gp_Vec2d_2
Hierarchy
gp_Vec2d
gp_Vec2d_2
Index
Constructors
constructor
Methods
Add
Added
Angle
Coord_
1
Coord_
2
Cross
Magnitude
Cross
Square
Magnitude
Crossed
Divide
Divided
Dot
Get
Normal
Is
Equal
Is
Normal
Is
Opposite
Is
Parallel
Magnitude
Mirror_
1
Mirror_
2
Mirrored_
1
Mirrored_
2
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
SetX
SetXY
SetY
Square
Magnitude
Subtract
Subtracted
Transform
Transformed
X
XY
Y
delete
Constructors
constructor
new gp_
Vec2d_
2
(
theV
:
gp_Dir2d
)
:
gp_Vec2d_2
Parameters
theV:
gp_Dir2d
Returns
gp_Vec2d_2
Methods
Add
Add
(
theOther
:
gp_Vec2d
)
:
void
Parameters
theOther:
gp_Vec2d
Returns
void
Added
Added
(
theOther
:
gp_Vec2d
)
:
gp_Vec2d
Parameters
theOther:
gp_Vec2d
Returns
gp_Vec2d
Angle
Angle
(
theOther
:
gp_Vec2d
)
:
number
Parameters
theOther:
gp_Vec2d
Returns
number
Coord_
1
Coord_
1
(
theIndex
:
Graphic3d_ZLayerId
)
:
number
Parameters
theIndex:
Graphic3d_ZLayerId
Returns
number
Coord_
2
Coord_
2
(
theXv
:
number
, theYv
:
number
)
:
void
Parameters
theXv:
number
theYv:
number
Returns
void
Cross
Magnitude
Cross
Magnitude
(
theRight
:
gp_Vec2d
)
:
number
Parameters
theRight:
gp_Vec2d
Returns
number
Cross
Square
Magnitude
Cross
Square
Magnitude
(
theRight
:
gp_Vec2d
)
:
number
Parameters
theRight:
gp_Vec2d
Returns
number
Crossed
Crossed
(
theRight
:
gp_Vec2d
)
:
number
Parameters
theRight:
gp_Vec2d
Returns
number
Divide
Divide
(
theScalar
:
number
)
:
void
Parameters
theScalar:
number
Returns
void
Divided
Divided
(
theScalar
:
number
)
:
gp_Vec2d
Parameters
theScalar:
number
Returns
gp_Vec2d
Dot
Dot
(
theOther
:
gp_Vec2d
)
:
number
Parameters
theOther:
gp_Vec2d
Returns
number
Get
Normal
Get
Normal
(
)
:
gp_Vec2d
Returns
gp_Vec2d
Is
Equal
Is
Equal
(
theOther
:
gp_Vec2d
, theLinearTolerance
:
number
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Vec2d
theLinearTolerance:
number
theAngularTolerance:
number
Returns
boolean
Is
Normal
Is
Normal
(
theOther
:
gp_Vec2d
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Vec2d
theAngularTolerance:
number
Returns
boolean
Is
Opposite
Is
Opposite
(
theOther
:
gp_Vec2d
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Vec2d
theAngularTolerance:
number
Returns
boolean
Is
Parallel
Is
Parallel
(
theOther
:
gp_Vec2d
, theAngularTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Vec2d
theAngularTolerance:
number
Returns
boolean
Magnitude
Magnitude
(
)
:
number
Returns
number
Mirror_
1
Mirror_
1
(
theV
:
gp_Vec2d
)
:
void
Parameters
theV:
gp_Vec2d
Returns
void
Mirror_
2
Mirror_
2
(
theA1
:
gp_Ax2d
)
:
void
Parameters
theA1:
gp_Ax2d
Returns
void
Mirrored_
1
Mirrored_
1
(
theV
:
gp_Vec2d
)
:
gp_Vec2d
Parameters
theV:
gp_Vec2d
Returns
gp_Vec2d
Mirrored_
2
Mirrored_
2
(
theA1
:
gp_Ax2d
)
:
gp_Vec2d
Parameters
theA1:
gp_Ax2d
Returns
gp_Vec2d
Multiplied
Multiplied
(
theScalar
:
number
)
:
gp_Vec2d
Parameters
theScalar:
number
Returns
gp_Vec2d
Multiply
Multiply
(
theScalar
:
number
)
:
void
Parameters
theScalar:
number
Returns
void
Normalize
Normalize
(
)
:
void
Returns
void
Normalized
Normalized
(
)
:
gp_Vec2d
Returns
gp_Vec2d
Reverse
Reverse
(
)
:
void
Returns
void
Reversed
Reversed
(
)
:
gp_Vec2d
Returns
gp_Vec2d
Rotate
Rotate
(
theAng
:
number
)
:
void
Parameters
theAng:
number
Returns
void
Rotated
Rotated
(
theAng
:
number
)
:
gp_Vec2d
Parameters
theAng:
number
Returns
gp_Vec2d
Scale
Scale
(
theS
:
number
)
:
void
Parameters
theS:
number
Returns
void
Scaled
Scaled
(
theS
:
number
)
:
gp_Vec2d
Parameters
theS:
number
Returns
gp_Vec2d
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
)
:
void
Parameters
theXv:
number
theYv:
number
Returns
void
Set
Linear
Form_
1
Set
Linear
Form_
1
(
theA1
:
number
, theV1
:
gp_Vec2d
, theA2
:
number
, theV2
:
gp_Vec2d
, theV3
:
gp_Vec2d
)
:
void
Parameters
theA1:
number
theV1:
gp_Vec2d
theA2:
number
theV2:
gp_Vec2d
theV3:
gp_Vec2d
Returns
void
Set
Linear
Form_
2
Set
Linear
Form_
2
(
theA1
:
number
, theV1
:
gp_Vec2d
, theA2
:
number
, theV2
:
gp_Vec2d
)
:
void
Parameters
theA1:
number
theV1:
gp_Vec2d
theA2:
number
theV2:
gp_Vec2d
Returns
void
Set
Linear
Form_
3
Set
Linear
Form_
3
(
theA1
:
number
, theV1
:
gp_Vec2d
, theV2
:
gp_Vec2d
)
:
void
Parameters
theA1:
number
theV1:
gp_Vec2d
theV2:
gp_Vec2d
Returns
void
Set
Linear
Form_
4
Set
Linear
Form_
4
(
theV1
:
gp_Vec2d
, theV2
:
gp_Vec2d
)
:
void
Parameters
theV1:
gp_Vec2d
theV2:
gp_Vec2d
Returns
void
SetX
SetX
(
theX
:
number
)
:
void
Parameters
theX:
number
Returns
void
SetXY
SetXY
(
theCoord
:
gp_XY
)
:
void
Parameters
theCoord:
gp_XY
Returns
void
SetY
SetY
(
theY
:
number
)
:
void
Parameters
theY:
number
Returns
void
Square
Magnitude
Square
Magnitude
(
)
:
number
Returns
number
Subtract
Subtract
(
theRight
:
gp_Vec2d
)
:
void
Parameters
theRight:
gp_Vec2d
Returns
void
Subtracted
Subtracted
(
theRight
:
gp_Vec2d
)
:
gp_Vec2d
Parameters
theRight:
gp_Vec2d
Returns
gp_Vec2d
Transform
Transform
(
theT
:
gp_Trsf2d
)
:
void
Parameters
theT:
gp_Trsf2d
Returns
void
Transformed
Transformed
(
theT
:
gp_Trsf2d
)
:
gp_Vec2d
Parameters
theT:
gp_Trsf2d
Returns
gp_Vec2d
X
X
(
)
:
number
Returns
number
XY
XY
(
)
:
gp_XY
Returns
gp_XY
Y
Y
(
)
:
number
Returns
number
delete
delete
(
)
:
void
Returns
void
Exports
gp_
Vec2d_
2
constructor
Add
Added
Angle
Coord_
1
Coord_
2
Cross
Magnitude
Cross
Square
Magnitude
Crossed
Divide
Divided
Dot
Get
Normal
Is
Equal
Is
Normal
Is
Opposite
Is
Parallel
Magnitude
Mirror_
1
Mirror_
2
Mirrored_
1
Mirrored_
2
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
SetX
SetXY
SetY
Square
Magnitude
Subtract
Subtracted
Transform
Transformed
X
XY
Y
delete
Generated using
TypeDoc