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_Pnt_2
Class gp_Pnt_2
Hierarchy
gp_Pnt
gp_Pnt_2
Index
Constructors
constructor
Methods
Bary
Center
Change
Coord
Coord_
1
Coord_
2
Coord_
3
Distance
Dump
Json
Init
From
Json
Is
Equal
Mirror_
1
Mirror_
2
Mirror_
3
Mirrored_
1
Mirrored_
2
Mirrored_
3
Rotate
Rotated
Scale
Scaled
Set
Coord_
1
Set
Coord_
2
SetX
SetXYZ
SetY
SetZ
Square
Distance
Transform
Transformed
Translate_
1
Translate_
2
Translated_
1
Translated_
2
X
XYZ
Y
Z
delete
Constructors
constructor
new gp_
Pnt_
2
(
theCoord
:
gp_XYZ
)
:
gp_Pnt_2
Parameters
theCoord:
gp_XYZ
Returns
gp_Pnt_2
Methods
Bary
Center
Bary
Center
(
theAlpha
:
number
, theP
:
gp_Pnt
, theBeta
:
number
)
:
void
Parameters
theAlpha:
number
theP:
gp_Pnt
theBeta:
number
Returns
void
Change
Coord
Change
Coord
(
)
:
gp_XYZ
Returns
gp_XYZ
Coord_
1
Coord_
1
(
theIndex
:
Graphic3d_ZLayerId
)
:
number
Parameters
theIndex:
Graphic3d_ZLayerId
Returns
number
Coord_
2
Coord_
2
(
theXp
:
number
, theYp
:
number
, theZp
:
number
)
:
void
Parameters
theXp:
number
theYp:
number
theZp:
number
Returns
void
Coord_
3
Coord_
3
(
)
:
gp_XYZ
Returns
gp_XYZ
Distance
Distance
(
theOther
:
gp_Pnt
)
:
number
Parameters
theOther:
gp_Pnt
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_Pnt
, theLinearTolerance
:
number
)
:
boolean
Parameters
theOther:
gp_Pnt
theLinearTolerance:
number
Returns
boolean
Mirror_
1
Mirror_
1
(
theP
:
gp_Pnt
)
:
void
Parameters
theP:
gp_Pnt
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
(
theP
:
gp_Pnt
)
:
gp_Pnt
Parameters
theP:
gp_Pnt
Returns
gp_Pnt
Mirrored_
2
Mirrored_
2
(
theA1
:
gp_Ax1
)
:
gp_Pnt
Parameters
theA1:
gp_Ax1
Returns
gp_Pnt
Mirrored_
3
Mirrored_
3
(
theA2
:
gp_Ax2
)
:
gp_Pnt
Parameters
theA2:
gp_Ax2
Returns
gp_Pnt
Rotate
Rotate
(
theA1
:
gp_Ax1
, theAng
:
number
)
:
void
Parameters
theA1:
gp_Ax1
theAng:
number
Returns
void
Rotated
Rotated
(
theA1
:
gp_Ax1
, theAng
:
number
)
:
gp_Pnt
Parameters
theA1:
gp_Ax1
theAng:
number
Returns
gp_Pnt
Scale
Scale
(
theP
:
gp_Pnt
, theS
:
number
)
:
void
Parameters
theP:
gp_Pnt
theS:
number
Returns
void
Scaled
Scaled
(
theP
:
gp_Pnt
, theS
:
number
)
:
gp_Pnt
Parameters
theP:
gp_Pnt
theS:
number
Returns
gp_Pnt
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
(
theXp
:
number
, theYp
:
number
, theZp
:
number
)
:
void
Parameters
theXp:
number
theYp:
number
theZp:
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
Square
Distance
Square
Distance
(
theOther
:
gp_Pnt
)
:
number
Parameters
theOther:
gp_Pnt
Returns
number
Transform
Transform
(
theT
:
gp_Trsf
)
:
void
Parameters
theT:
gp_Trsf
Returns
void
Transformed
Transformed
(
theT
:
gp_Trsf
)
:
gp_Pnt
Parameters
theT:
gp_Trsf
Returns
gp_Pnt
Translate_
1
Translate_
1
(
theV
:
gp_Vec
)
:
void
Parameters
theV:
gp_Vec
Returns
void
Translate_
2
Translate_
2
(
theP1
:
gp_Pnt
, theP2
:
gp_Pnt
)
:
void
Parameters
theP1:
gp_Pnt
theP2:
gp_Pnt
Returns
void
Translated_
1
Translated_
1
(
theV
:
gp_Vec
)
:
gp_Pnt
Parameters
theV:
gp_Vec
Returns
gp_Pnt
Translated_
2
Translated_
2
(
theP1
:
gp_Pnt
, theP2
:
gp_Pnt
)
:
gp_Pnt
Parameters
theP1:
gp_Pnt
theP2:
gp_Pnt
Returns
gp_Pnt
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_
Pnt_
2
constructor
Bary
Center
Change
Coord
Coord_
1
Coord_
2
Coord_
3
Distance
Dump
Json
Init
From
Json
Is
Equal
Mirror_
1
Mirror_
2
Mirror_
3
Mirrored_
1
Mirrored_
2
Mirrored_
3
Rotate
Rotated
Scale
Scaled
Set
Coord_
1
Set
Coord_
2
SetX
SetXYZ
SetY
SetZ
Square
Distance
Transform
Transformed
Translate_
1
Translate_
2
Translated_
1
Translated_
2
X
XYZ
Y
Z
delete
Generated using
TypeDoc