|
Public Member Functions |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Static Public Member Functions |
static Standard_EXPORT gp_Pnt | Value (const Standard_Real U, const Standard_Real V, const gp_Pln &Pl) |
| For elementary surfaces from the gp package (planes,
cones, cylinders, spheres and tori), computes the point
of parameters (U, V).
.
|
static gp_Pnt | Value (const Standard_Real U, const Standard_Real V, const gp_Cone &C) |
static gp_Pnt | Value (const Standard_Real U, const Standard_Real V, const gp_Cylinder &C) |
static gp_Pnt | Value (const Standard_Real U, const Standard_Real V, const gp_Sphere &S) |
static gp_Pnt | Value (const Standard_Real U, const Standard_Real V, const gp_Torus &T) |
static Standard_EXPORT gp_Vec | DN (const Standard_Real U, const Standard_Real V, const gp_Pln &Pl, const Standard_Integer Nu, const Standard_Integer Nv) |
| For elementary surfaces from the gp package (planes,
cones, cylinders, spheres and tori), computes the
derivative vector of order Nu and Nv in the u and v
parametric directions respectively, at the point of
parameters (U, V).
.
|
static gp_Vec | DN (const Standard_Real U, const Standard_Real V, const gp_Cone &C, const Standard_Integer Nu, const Standard_Integer Nv) |
static gp_Vec | DN (const Standard_Real U, const Standard_Real V, const gp_Cylinder &C, const Standard_Integer Nu, const Standard_Integer Nv) |
static gp_Vec | DN (const Standard_Real U, const Standard_Real V, const gp_Sphere &S, const Standard_Integer Nu, const Standard_Integer Nv) |
static gp_Vec | DN (const Standard_Real U, const Standard_Real V, const gp_Torus &T, const Standard_Integer Nu, const Standard_Integer Nv) |
static Standard_EXPORT void | D0 (const Standard_Real U, const Standard_Real V, const gp_Pln &Pl, gp_Pnt &P) |
| For elementary surfaces from the gp package (planes,
cones, cylinders, spheres and tori), computes the point P
of parameters (U, V).inline
.
|
static void | D0 (const Standard_Real U, const Standard_Real V, const gp_Cone &C, gp_Pnt &P) |
static void | D0 (const Standard_Real U, const Standard_Real V, const gp_Cylinder &C, gp_Pnt &P) |
static void | D0 (const Standard_Real U, const Standard_Real V, const gp_Sphere &S, gp_Pnt &P) |
static void | D0 (const Standard_Real U, const Standard_Real V, const gp_Torus &T, gp_Pnt &P) |
static Standard_EXPORT void | D1 (const Standard_Real U, const Standard_Real V, const gp_Pln &Pl, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv) |
| For elementary surfaces from the gp package (planes,
cones, cylinders, spheres and tori), computes:
- the point P of parameters (U, V), and
- the first derivative vectors Vu and Vv at this point in
the u and v parametric directions respectively.
.
|
static void | D1 (const Standard_Real U, const Standard_Real V, const gp_Cone &C, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv) |
static void | D1 (const Standard_Real U, const Standard_Real V, const gp_Cylinder &C, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv) |
static void | D1 (const Standard_Real U, const Standard_Real V, const gp_Sphere &S, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv) |
static void | D1 (const Standard_Real U, const Standard_Real V, const gp_Torus &T, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv) |
static Standard_EXPORT void | D2 (const Standard_Real U, const Standard_Real V, const gp_Cone &C, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv) |
| For elementary surfaces from the gp package (cones,
cylinders, spheres and tori), computes:
- the point P of parameters (U, V), and
- the first derivative vectors Vu and Vv at this point in
the u and v parametric directions respectively, and
- the second derivative vectors Vuu, Vvv and Vuv at this point.
.
|
static void | D2 (const Standard_Real U, const Standard_Real V, const gp_Cylinder &C, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv) |
static void | D2 (const Standard_Real U, const Standard_Real V, const gp_Sphere &S, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv) |
static void | D2 (const Standard_Real U, const Standard_Real V, const gp_Torus &T, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv) |
static Standard_EXPORT void | D3 (const Standard_Real U, const Standard_Real V, const gp_Cone &C, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv, gp_Vec &Vuuu, gp_Vec &Vvvv, gp_Vec &Vuuv, gp_Vec &Vuvv) |
| For elementary surfaces from the gp package (cones,
cylinders, spheres and tori), computes:
- the point P of parameters (U,V), and
- the first derivative vectors Vu and Vv at this point in
the u and v parametric directions respectively, and
- the second derivative vectors Vuu, Vvv and Vuv at
this point, and
- the third derivative vectors Vuuu, Vvvv, Vuuv and
Vuvv at this point.
.
|
static void | D3 (const Standard_Real U, const Standard_Real V, const gp_Cylinder &C, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv, gp_Vec &Vuuu, gp_Vec &Vvvv, gp_Vec &Vuuv, gp_Vec &Vuvv) |
static void | D3 (const Standard_Real U, const Standard_Real V, const gp_Sphere &S, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv, gp_Vec &Vuuu, gp_Vec &Vvvv, gp_Vec &Vuuv, gp_Vec &Vuvv) |
static void | D3 (const Standard_Real U, const Standard_Real V, const gp_Torus &T, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv, gp_Vec &Vuuu, gp_Vec &Vvvv, gp_Vec &Vuuv, gp_Vec &Vuvv) |
| Surface evaluation
The following functions compute the point and the
derivatives on elementary surfaces defined with their
geometric characterisitics.
You don't need to create the surface to use these functions.
These functions are called by the previous ones.
Example :
A cylinder is defined with its position and its radius.
.
|
static Standard_EXPORT gp_Pnt | PlaneValue (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos) |
static Standard_EXPORT gp_Pnt | CylinderValue (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius) |
static Standard_EXPORT gp_Pnt | ConeValue (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real SAngle) |
static Standard_EXPORT gp_Pnt | SphereValue (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius) |
static Standard_EXPORT gp_Pnt | TorusValue (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real MajorRadius, const Standard_Real MinorRadius) |
static Standard_EXPORT gp_Vec | PlaneDN (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Integer Nu, const Standard_Integer Nv) |
static Standard_EXPORT gp_Vec | CylinderDN (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Integer Nu, const Standard_Integer Nv) |
static Standard_EXPORT gp_Vec | ConeDN (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real SAngle, const Standard_Integer Nu, const Standard_Integer Nv) |
static Standard_EXPORT gp_Vec | SphereDN (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Integer Nu, const Standard_Integer Nv) |
static Standard_EXPORT gp_Vec | TorusDN (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real MajorRadius, const Standard_Real MinorRadius, const Standard_Integer Nu, const Standard_Integer Nv) |
static Standard_EXPORT void | PlaneD0 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, gp_Pnt &P) |
static Standard_EXPORT void | ConeD0 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real SAngle, gp_Pnt &P) |
static Standard_EXPORT void | CylinderD0 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, gp_Pnt &P) |
static Standard_EXPORT void | SphereD0 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, gp_Pnt &P) |
static Standard_EXPORT void | TorusD0 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real MajorRadius, const Standard_Real MinorRadius, gp_Pnt &P) |
static Standard_EXPORT void | PlaneD1 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv) |
static Standard_EXPORT void | ConeD1 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real SAngle, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv) |
static Standard_EXPORT void | CylinderD1 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv) |
static Standard_EXPORT void | SphereD1 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv) |
static Standard_EXPORT void | TorusD1 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real MajorRadius, const Standard_Real MinorRadius, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv) |
static Standard_EXPORT void | ConeD2 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real SAngle, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv) |
static Standard_EXPORT void | CylinderD2 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv) |
static Standard_EXPORT void | SphereD2 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv) |
static Standard_EXPORT void | TorusD2 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real MajorRadius, const Standard_Real MinorRadius, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv) |
static Standard_EXPORT void | ConeD3 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real SAngle, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv, gp_Vec &Vuuu, gp_Vec &Vvvv, gp_Vec &Vuuv, gp_Vec &Vuvv) |
static Standard_EXPORT void | CylinderD3 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv, gp_Vec &Vuuu, gp_Vec &Vvvv, gp_Vec &Vuuv, gp_Vec &Vuvv) |
static Standard_EXPORT void | SphereD3 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real Radius, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv, gp_Vec &Vuuu, gp_Vec &Vvvv, gp_Vec &Vuuv, gp_Vec &Vuvv) |
static Standard_EXPORT void | TorusD3 (const Standard_Real U, const Standard_Real V, const gp_Ax3 &Pos, const Standard_Real MajorRadius, const Standard_Real MinorRadius, gp_Pnt &P, gp_Vec &Vu, gp_Vec &Vv, gp_Vec &Vuu, gp_Vec &Vvv, gp_Vec &Vuv, gp_Vec &Vuuu, gp_Vec &Vvvv, gp_Vec &Vuuv, gp_Vec &Vuvv) |
| The following functions compute the parametric values
corresponding to a given point on a elementary surface.
The point should be on the surface.
.
|
static void | Parameters (const gp_Pln &Pl, const gp_Pnt &P, Standard_Real &U, Standard_Real &V) |
| parametrization
P (U, V) =
Pl.Location() + U * Pl.XDirection() + V * Pl.YDirection()
|
static void | Parameters (const gp_Cylinder &C, const gp_Pnt &P, Standard_Real &U, Standard_Real &V) |
| parametrization
P (U, V) = Location + V * ZDirection +
Radius * (Cos(U) * XDirection + Sin (U) * YDirection)
|
static void | Parameters (const gp_Cone &C, const gp_Pnt &P, Standard_Real &U, Standard_Real &V) |
| parametrization
P (U, V) = Location + V * ZDirection +
(Radius + V * Tan (SemiAngle)) *
(Cos(U) * XDirection + Sin(U) * YDirection)
|
static void | Parameters (const gp_Sphere &S, const gp_Pnt &P, Standard_Real &U, Standard_Real &V) |
| parametrization
P (U, V) = Location +
Radius * Cos (V) * (Cos (U) * XDirection + Sin (U) * YDirection) +
Radius * Sin (V) * ZDirection
|
static void | Parameters (const gp_Torus &T, const gp_Pnt &P, Standard_Real &U, Standard_Real &V) |
| parametrization
P (U, V) = Location +
(MajorRadius + MinorRadius * Cos(U)) *
(Cos(V) * XDirection - Sin(V) * YDirection) +
MinorRadius * Sin(U) * ZDirection
|
static Standard_EXPORT void | PlaneParameters (const gp_Ax3 &Pos, const gp_Pnt &P, Standard_Real &U, Standard_Real &V) |
| parametrization
P (U, V) =
Pl.Location() + U * Pl.XDirection() + V * Pl.YDirection()
|
static Standard_EXPORT void | CylinderParameters (const gp_Ax3 &Pos, const Standard_Real Radius, const gp_Pnt &P, Standard_Real &U, Standard_Real &V) |
| parametrization
P (U, V) = Location + V * ZDirection +
Radius * (Cos(U) * XDirection + Sin (U) * YDirection)
|
static Standard_EXPORT void | ConeParameters (const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real SAngle, const gp_Pnt &P, Standard_Real &U, Standard_Real &V) |
| parametrization
P (U, V) = Location + V * ZDirection +
(Radius + V * Tan (SemiAngle)) *
(Cos(U) * XDirection + Sin(U) * YDirection)
|
static Standard_EXPORT void | SphereParameters (const gp_Ax3 &Pos, const Standard_Real Radius, const gp_Pnt &P, Standard_Real &U, Standard_Real &V) |
| parametrization
P (U, V) = Location +
Radius * Cos (V) * (Cos (U) * XDirection + Sin (U) * YDirection) +
Radius * Sin (V) * ZDirection
|
static Standard_EXPORT void | TorusParameters (const gp_Ax3 &Pos, const Standard_Real MajorRadius, const Standard_Real MinorRadius, const gp_Pnt &P, Standard_Real &U, Standard_Real &V) |
| parametrization
P (U, V) = Location +
(MajorRadius + MinorRadius * Cos(U)) *
(Cos(V) * XDirection - Sin(V) * YDirection) +
MinorRadius * Sin(U) * ZDirection
|
static Standard_EXPORT gp_Lin | PlaneUIso (const gp_Ax3 &Pos, const Standard_Real U) |
static Standard_EXPORT gp_Lin | CylinderUIso (const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real U) |
static Standard_EXPORT gp_Lin | ConeUIso (const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real SAngle, const Standard_Real U) |
static Standard_EXPORT gp_Circ | SphereUIso (const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real U) |
static Standard_EXPORT gp_Circ | TorusUIso (const gp_Ax3 &Pos, const Standard_Real MajorRadius, const Standard_Real MinorRadius, const Standard_Real U) |
static Standard_EXPORT gp_Lin | PlaneVIso (const gp_Ax3 &Pos, const Standard_Real V) |
static Standard_EXPORT gp_Circ | CylinderVIso (const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real V) |
static Standard_EXPORT gp_Circ | ConeVIso (const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real SAngle, const Standard_Real V) |
static Standard_EXPORT gp_Circ | SphereVIso (const gp_Ax3 &Pos, const Standard_Real Radius, const Standard_Real V) |
static Standard_EXPORT gp_Circ | TorusVIso (const gp_Ax3 &Pos, const Standard_Real MajorRadius, const Standard_Real MinorRadius, const Standard_Real V) |