Package: gp
Open Cascade documentation: gp.
This package provides the following:
-
Pnt: defines a 3D cartesian point.
-
Xyz: describes a cartesian coordinate entity in 3D space {X,Y,Z}. This entity is used for algebraic calculation. This entity can be transformed with a “Trsf” or a “GTrsf” from package “gp”. It is used in vectorial computations or for holding this type of information in data structures.
-
Vec: defines a non-persistent vector in 3D space.
-
gp_Ax2
-
gp_Ax22d
-
gp_Ax2d
-
gp_Ax3
-
gp_Circ
-
gp_Circ2d
-
gp_Cone
-
gp_Cylinder
-
gp_Dir
-
gp_Dir2d
-
gp_Elips
-
gp_Elips2d
-
gp_EulerSequence
-
gp_GTrsf
-
gp_GTrsf2d
-
gp_Hypr
-
gp_Hypr2d
-
gp_Lin
-
gp_Lin2d
-
gp_Mat
-
gp_Mat2d
-
gp_Parab
-
gp_Parab2d
-
gp_Pln
-
gp_Pnt2d
-
gp_Quaternion
-
gp_QuaternionNLerp
-
gp_QuaternionSLerp
-
gp_Sphere
-
gp_Torus
-
gp_Trsf
-
gp_Trsf2d
-
gp_TrsfForm
-
gp_TrsfNLerp
-
gp_Vec2d
-
gp_Vec2f
-
gp_Vec3f
-
gp_VectorWithNullMagnitude
-
gp_XY
Some “sugar” is added for this package:
- You can mix floats and integers while defining the points.
- You can assign values like
pnt.x = 8
and get the value with:echo pnt.x
- The same applies with:
pnt[0] = 8
andecho pnt[0]
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.