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
Geom2d_VectorWithMagnitude_2
Class Geom2d_VectorWithMagnitude_2
Hierarchy
Geom2d_VectorWithMagnitude
Geom2d_VectorWithMagnitude_2
Index
Constructors
constructor
Methods
Add
Added
Angle
Coord
Copy
Crossed
Decrement
Ref
Counter
Delete
Divide
Divided
Dot
Dump
Json
Dynamic
Type
Get
Ref
Count
Increment
Ref
Counter
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Magnitude
Mirror_
1
Mirror_
2
Mirrored_
1
Mirrored_
2
Multiplied
Multiply
Normalize
Normalized
Reverse
Reversed
Rotate
Rotated
Scale
Scaled
Set
Coord
Set
Vec2d
SetX
SetY
Square
Magnitude
Subtract
Subtracted
This
Transform
Transformed
Translate_
1
Translate_
2
Translated_
1
Translated_
2
Vec2d
X
Y
delete
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new
Geom2d_
Vector
With
Magnitude_
2
(
X
:
number
, Y
:
number
)
:
Geom2d_VectorWithMagnitude_2
Parameters
X:
number
Y:
number
Returns
Geom2d_VectorWithMagnitude_2
Methods
Add
Add
(
Other
:
Handle_Geom2d_Vector
)
:
void
Parameters
Other:
Handle_Geom2d_Vector
Returns
void
Added
Added
(
Other
:
Handle_Geom2d_Vector
)
:
Handle_Geom2d_VectorWithMagnitude
Parameters
Other:
Handle_Geom2d_Vector
Returns
Handle_Geom2d_VectorWithMagnitude
Angle
Angle
(
Other
:
Handle_Geom2d_Vector
)
:
number
Parameters
Other:
Handle_Geom2d_Vector
Returns
number
Coord
Coord
(
X
:
number
, Y
:
number
)
:
void
Parameters
X:
number
Y:
number
Returns
void
Copy
Copy
(
)
:
Handle_Geom2d_Geometry
Returns
Handle_Geom2d_Geometry
Crossed
Crossed
(
Other
:
Handle_Geom2d_Vector
)
:
number
Parameters
Other:
Handle_Geom2d_Vector
Returns
number
Decrement
Ref
Counter
Decrement
Ref
Counter
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Delete
Delete
(
)
:
void
Returns
void
Divide
Divide
(
Scalar
:
number
)
:
void
Parameters
Scalar:
number
Returns
void
Divided
Divided
(
Scalar
:
number
)
:
Handle_Geom2d_VectorWithMagnitude
Parameters
Scalar:
number
Returns
Handle_Geom2d_VectorWithMagnitude
Dot
Dot
(
Other
:
Handle_Geom2d_Vector
)
:
number
Parameters
Other:
Handle_Geom2d_Vector
Returns
number
Dump
Json
Dump
Json
(
theOStream
:
Standard_OStream
, theDepth
:
Graphic3d_ZLayerId
)
:
void
Parameters
theOStream:
Standard_OStream
theDepth:
Graphic3d_ZLayerId
Returns
void
Dynamic
Type
Dynamic
Type
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Increment
Ref
Counter
Increment
Ref
Counter
(
)
:
void
Returns
void
Is
Instance_
1
Is
Instance_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Instance_
2
Is
Instance_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Is
Kind_
1
Is
Kind_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Kind_
2
Is
Kind_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Magnitude
Magnitude
(
)
:
number
Returns
number
Mirror_
1
Mirror_
1
(
P
:
gp_Pnt2d
)
:
void
Parameters
P:
gp_Pnt2d
Returns
void
Mirror_
2
Mirror_
2
(
A
:
gp_Ax2d
)
:
void
Parameters
A:
gp_Ax2d
Returns
void
Mirrored_
1
Mirrored_
1
(
P
:
gp_Pnt2d
)
:
Handle_Geom2d_Geometry
Parameters
P:
gp_Pnt2d
Returns
Handle_Geom2d_Geometry
Mirrored_
2
Mirrored_
2
(
A
:
gp_Ax2d
)
:
Handle_Geom2d_Geometry
Parameters
A:
gp_Ax2d
Returns
Handle_Geom2d_Geometry
Multiplied
Multiplied
(
Scalar
:
number
)
:
Handle_Geom2d_VectorWithMagnitude
Parameters
Scalar:
number
Returns
Handle_Geom2d_VectorWithMagnitude
Multiply
Multiply
(
Scalar
:
number
)
:
void
Parameters
Scalar:
number
Returns
void
Normalize
Normalize
(
)
:
void
Returns
void
Normalized
Normalized
(
)
:
Handle_Geom2d_VectorWithMagnitude
Returns
Handle_Geom2d_VectorWithMagnitude
Reverse
Reverse
(
)
:
void
Returns
void
Reversed
Reversed
(
)
:
Handle_Geom2d_Vector
Returns
Handle_Geom2d_Vector
Rotate
Rotate
(
P
:
gp_Pnt2d
, Ang
:
number
)
:
void
Parameters
P:
gp_Pnt2d
Ang:
number
Returns
void
Rotated
Rotated
(
P
:
gp_Pnt2d
, Ang
:
number
)
:
Handle_Geom2d_Geometry
Parameters
P:
gp_Pnt2d
Ang:
number
Returns
Handle_Geom2d_Geometry
Scale
Scale
(
P
:
gp_Pnt2d
, S
:
number
)
:
void
Parameters
P:
gp_Pnt2d
S:
number
Returns
void
Scaled
Scaled
(
P
:
gp_Pnt2d
, S
:
number
)
:
Handle_Geom2d_Geometry
Parameters
P:
gp_Pnt2d
S:
number
Returns
Handle_Geom2d_Geometry
Set
Coord
Set
Coord
(
X
:
number
, Y
:
number
)
:
void
Parameters
X:
number
Y:
number
Returns
void
Set
Vec2d
Set
Vec2d
(
V
:
gp_Vec2d
)
:
void
Parameters
V:
gp_Vec2d
Returns
void
SetX
SetX
(
X
:
number
)
:
void
Parameters
X:
number
Returns
void
SetY
SetY
(
Y
:
number
)
:
void
Parameters
Y:
number
Returns
void
Square
Magnitude
Square
Magnitude
(
)
:
number
Returns
number
Subtract
Subtract
(
Other
:
Handle_Geom2d_Vector
)
:
void
Parameters
Other:
Handle_Geom2d_Vector
Returns
void
Subtracted
Subtracted
(
Other
:
Handle_Geom2d_Vector
)
:
Handle_Geom2d_VectorWithMagnitude
Parameters
Other:
Handle_Geom2d_Vector
Returns
Handle_Geom2d_VectorWithMagnitude
This
This
(
)
:
Standard_Transient
Returns
Standard_Transient
Transform
Transform
(
T
:
gp_Trsf2d
)
:
void
Parameters
T:
gp_Trsf2d
Returns
void
Transformed
Transformed
(
T
:
gp_Trsf2d
)
:
Handle_Geom2d_Geometry
Parameters
T:
gp_Trsf2d
Returns
Handle_Geom2d_Geometry
Translate_
1
Translate_
1
(
V
:
gp_Vec2d
)
:
void
Parameters
V:
gp_Vec2d
Returns
void
Translate_
2
Translate_
2
(
P1
:
gp_Pnt2d
, P2
:
gp_Pnt2d
)
:
void
Parameters
P1:
gp_Pnt2d
P2:
gp_Pnt2d
Returns
void
Translated_
1
Translated_
1
(
V
:
gp_Vec2d
)
:
Handle_Geom2d_Geometry
Parameters
V:
gp_Vec2d
Returns
Handle_Geom2d_Geometry
Translated_
2
Translated_
2
(
P1
:
gp_Pnt2d
, P2
:
gp_Pnt2d
)
:
Handle_Geom2d_Geometry
Parameters
P1:
gp_Pnt2d
P2:
gp_Pnt2d
Returns
Handle_Geom2d_Geometry
Vec2d
Vec2d
(
)
:
gp_Vec2d
Returns
gp_Vec2d
X
X
(
)
:
number
Returns
number
Y
Y
(
)
:
number
Returns
number
delete
delete
(
)
:
void
Returns
void
Static
get_
type_
descriptor
get_
type_
descriptor
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Static
get_
type_
name
get_
type_
name
(
)
:
number
Returns
number
Exports
Geom2d_
Vector
With
Magnitude_
2
constructor
Add
Added
Angle
Coord
Copy
Crossed
Decrement
Ref
Counter
Delete
Divide
Divided
Dot
Dump
Json
Dynamic
Type
Get
Ref
Count
Increment
Ref
Counter
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Magnitude
Mirror_
1
Mirror_
2
Mirrored_
1
Mirrored_
2
Multiplied
Multiply
Normalize
Normalized
Reverse
Reversed
Rotate
Rotated
Scale
Scaled
Set
Coord
Set
Vec2d
SetX
SetY
Square
Magnitude
Subtract
Subtracted
This
Transform
Transformed
Translate_
1
Translate_
2
Translated_
1
Translated_
2
Vec2d
X
Y
delete
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc