OpenCascade.js
API ReferenceFoundationClassesTKMath

ElSLib

OCCT package ElSLib: ElSLib.

ElSLib

Provides functions for basic geometric computation on elementary surfaces. This includes:

  • calculation of a point or derived vector on a surface where the surface is provided by the gp package, or defined in canonical form (as in the gp package), and the point is defined with a parameter,
  • evaluation of the parameters corresponding to a point on an elementary surface from gp,
  • calculation of isoparametric curves on an elementary surface defined in canonical form (as in the gp package). Notes:
  • ElSLib stands for Elementary Surfaces Library.
  • If the surfaces provided by the gp package are not explicitly parameterized, they still have an implicit parameterization, similar to that which they infer on the equivalent Geom surfaces. Note: ElSLib stands for Elementary Surfaces Library.

Constructors(1)

Static methods(76)

  • Value(U: number, V: number, Pl: gp_Pln): gp_Pnt

    For elementary surfaces from the gp package (planes, cones, cylinders, spheres and tori), computes the point of parameters (U, V).

    Parameters (3)
    • U
    • V
    • Pl
  • Value(U: number, V: number, C: gp_Cone): gp_Pnt
    Parameters (3)
    • U
    • V
    • C
  • Value(U: number, V: number, C: gp_Cylinder): gp_Pnt
    Parameters (3)
    • U
    • V
    • C
  • Value(U: number, V: number, S: gp_Sphere): gp_Pnt
    Parameters (3)
    • U
    • V
    • S
  • Value(U: number, V: number, T: gp_Torus): gp_Pnt
    Parameters (3)
    • U
    • V
    • T
  • DN(U: number, V: number, Pl: gp_Pln, Nu: number, Nv: number): gp_Vec

    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).

    Parameters (5)
    • U
    • V
    • Pl
    • Nu
    • Nv
  • DN(U: number, V: number, C: gp_Cone, Nu: number, Nv: number): gp_Vec
    Parameters (5)
    • U
    • V
    • C
    • Nu
    • Nv
  • DN(U: number, V: number, C: gp_Cylinder, Nu: number, Nv: number): gp_Vec
    Parameters (5)
    • U
    • V
    • C
    • Nu
    • Nv
  • DN(U: number, V: number, S: gp_Sphere, Nu: number, Nv: number): gp_Vec
    Parameters (5)
    • U
    • V
    • S
    • Nu
    • Nv
  • DN(U: number, V: number, T: gp_Torus, Nu: number, Nv: number): gp_Vec
    Parameters (5)
    • U
    • V
    • T
    • Nu
    • Nv
  • D0(U: number, V: number, Pl: gp_Pln, P: gp_Pnt): void

    For elementary surfaces from the gp package (planes, cones, cylinders, spheres and tori), computes the point P of parameters (U, V).inline.

    Parameters (4)
    • U
    • V
    • Pl
    • P
      Mutated in place; read the updated value from this argument after the call.
  • D0(U: number, V: number, C: gp_Cone, P: gp_Pnt): void
    Parameters (4)
    • U
    • V
    • C
    • P
  • D0(U: number, V: number, C: gp_Cylinder, P: gp_Pnt): void
    Parameters (4)
    • U
    • V
    • C
    • P
  • D0(U: number, V: number, S: gp_Sphere, P: gp_Pnt): void
    Parameters (4)
    • U
    • V
    • S
    • P
  • D0(U: number, V: number, T: gp_Torus, P: gp_Pnt): void
    Parameters (4)
    • U
    • V
    • T
    • P
  • D1(U: number, V: number, Pl: gp_Pln, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec): void

    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.
    Parameters (6)
    • U
    • V
    • Pl
    • P
      Mutated in place; read the updated value from this argument after the call.
    • Vu
      Mutated in place; read the updated value from this argument after the call.
    • Vv
      Mutated in place; read the updated value from this argument after the call.
  • D1(U: number, V: number, C: gp_Cone, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec): void
    Parameters (6)
    • U
    • V
    • C
    • P
    • Vu
    • Vv
  • D1(U: number, V: number, C: gp_Cylinder, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec): void
    Parameters (6)
    • U
    • V
    • C
    • P
    • Vu
    • Vv
  • D1(U: number, V: number, S: gp_Sphere, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec): void
    Parameters (6)
    • U
    • V
    • S
    • P
    • Vu
    • Vv
  • D1(U: number, V: number, T: gp_Torus, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec): void
    Parameters (6)
    • U
    • V
    • T
    • P
    • Vu
    • Vv
  • D2(U: number, V: number, C: gp_Cone, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec, Vuu: gp_Vec, Vvv: gp_Vec, Vuv: gp_Vec): void

    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.
    Parameters (9)
    • U
    • V
    • C
    • P
      Mutated in place; read the updated value from this argument after the call.
    • Vu
      Mutated in place; read the updated value from this argument after the call.
    • Vv
      Mutated in place; read the updated value from this argument after the call.
    • Vuu
      Mutated in place; read the updated value from this argument after the call.
    • Vvv
      Mutated in place; read the updated value from this argument after the call.
    • Vuv
      Mutated in place; read the updated value from this argument after the call.
  • D2(U: number, V: number, C: gp_Cylinder, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec, Vuu: gp_Vec, Vvv: gp_Vec, Vuv: gp_Vec): void
    Parameters (9)
    • U
    • V
    • C
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
  • D2(U: number, V: number, S: gp_Sphere, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec, Vuu: gp_Vec, Vvv: gp_Vec, Vuv: gp_Vec): void
    Parameters (9)
    • U
    • V
    • S
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
  • D2(U: number, V: number, T: gp_Torus, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec, Vuu: gp_Vec, Vvv: gp_Vec, Vuv: gp_Vec): void
    Parameters (9)
    • U
    • V
    • T
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
  • D3(U: number, V: number, C: gp_Cone, P: gp_Pnt, 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: gp_Vec): void

    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.
    Parameters (13)
    • U
    • V
    • C
    • P
      Mutated in place; read the updated value from this argument after the call.
    • Vu
      Mutated in place; read the updated value from this argument after the call.
    • Vv
      Mutated in place; read the updated value from this argument after the call.
    • Vuu
      Mutated in place; read the updated value from this argument after the call.
    • Vvv
      Mutated in place; read the updated value from this argument after the call.
    • Vuv
      Mutated in place; read the updated value from this argument after the call.
    • Vuuu
      Mutated in place; read the updated value from this argument after the call.
    • Vvvv
      Mutated in place; read the updated value from this argument after the call.
    • Vuuv
      Mutated in place; read the updated value from this argument after the call.
    • Vuvv
      Mutated in place; read the updated value from this argument after the call.
  • D3(U: number, V: number, C: gp_Cylinder, P: gp_Pnt, 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: gp_Vec): void
    Parameters (13)
    • U
    • V
    • C
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
    • Vuuu
    • Vvvv
    • Vuuv
    • Vuvv
  • D3(U: number, V: number, S: gp_Sphere, P: gp_Pnt, 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: gp_Vec): void
    Parameters (13)
    • U
    • V
    • S
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
    • Vuuu
    • Vvvv
    • Vuuv
    • Vuvv
  • D3(U: number, V: number, T: gp_Torus, P: gp_Pnt, 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: gp_Vec): void

    Surface evaluation The following functions compute the point and the derivatives on elementary surfaces defined with their geometric characteristics. 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.

    Parameters (13)
    • U
    • V
    • T
    • P
      Mutated in place; read the updated value from this argument after the call.
    • Vu
      Mutated in place; read the updated value from this argument after the call.
    • Vv
      Mutated in place; read the updated value from this argument after the call.
    • Vuu
      Mutated in place; read the updated value from this argument after the call.
    • Vvv
      Mutated in place; read the updated value from this argument after the call.
    • Vuv
      Mutated in place; read the updated value from this argument after the call.
    • Vuuu
      Mutated in place; read the updated value from this argument after the call.
    • Vvvv
      Mutated in place; read the updated value from this argument after the call.
    • Vuuv
      Mutated in place; read the updated value from this argument after the call.
    • Vuvv
      Mutated in place; read the updated value from this argument after the call.
  • PlaneValue(U: number, V: number, Pos: gp_Ax3): gp_Pnt
    Parameters (3)
    • U
    • V
    • Pos
  • CylinderValue(U: number, V: number, Pos: gp_Ax3, Radius: number): gp_Pnt
    Parameters (4)
    • U
    • V
    • Pos
    • Radius
  • ConeValue(U: number, V: number, Pos: gp_Ax3, Radius: number, SAngle: number): gp_Pnt
    Parameters (5)
    • U
    • V
    • Pos
    • Radius
    • SAngle
  • SphereValue(U: number, V: number, Pos: gp_Ax3, Radius: number): gp_Pnt
    Parameters (4)
    • U
    • V
    • Pos
    • Radius
  • TorusValue(U: number, V: number, Pos: gp_Ax3, MajorRadius: number, MinorRadius: number): gp_Pnt
    Parameters (5)
    • U
    • V
    • Pos
    • MajorRadius
    • MinorRadius
  • PlaneDN(U: number, V: number, Pos: gp_Ax3, Nu: number, Nv: number): gp_Vec
    Parameters (5)
    • U
    • V
    • Pos
    • Nu
    • Nv
  • CylinderDN(U: number, V: number, Pos: gp_Ax3, Radius: number, Nu: number, Nv: number): gp_Vec
    Parameters (6)
    • U
    • V
    • Pos
    • Radius
    • Nu
    • Nv
  • ConeDN(U: number, V: number, Pos: gp_Ax3, Radius: number, SAngle: number, Nu: number, Nv: number): gp_Vec
    Parameters (7)
    • U
    • V
    • Pos
    • Radius
    • SAngle
    • Nu
    • Nv
  • SphereDN(U: number, V: number, Pos: gp_Ax3, Radius: number, Nu: number, Nv: number): gp_Vec
    Parameters (6)
    • U
    • V
    • Pos
    • Radius
    • Nu
    • Nv
  • TorusDN(U: number, V: number, Pos: gp_Ax3, MajorRadius: number, MinorRadius: number, Nu: number, Nv: number): gp_Vec
    Parameters (7)
    • U
    • V
    • Pos
    • MajorRadius
    • MinorRadius
    • Nu
    • Nv
  • PlaneD0(U: number, V: number, Pos: gp_Ax3, P: gp_Pnt): void
    Parameters (4)
    • U
    • V
    • Pos
    • P
  • ConeD0(U: number, V: number, Pos: gp_Ax3, Radius: number, SAngle: number, P: gp_Pnt): void
    Parameters (6)
    • U
    • V
    • Pos
    • Radius
    • SAngle
    • P
  • CylinderD0(U: number, V: number, Pos: gp_Ax3, Radius: number, P: gp_Pnt): void
    Parameters (5)
    • U
    • V
    • Pos
    • Radius
    • P
  • SphereD0(U: number, V: number, Pos: gp_Ax3, Radius: number, P: gp_Pnt): void
    Parameters (5)
    • U
    • V
    • Pos
    • Radius
    • P
  • TorusD0(U: number, V: number, Pos: gp_Ax3, MajorRadius: number, MinorRadius: number, P: gp_Pnt): void
    Parameters (6)
    • U
    • V
    • Pos
    • MajorRadius
    • MinorRadius
    • P
  • PlaneD1(U: number, V: number, Pos: gp_Ax3, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec): void
    Parameters (6)
    • U
    • V
    • Pos
    • P
    • Vu
    • Vv
  • ConeD1(U: number, V: number, Pos: gp_Ax3, Radius: number, SAngle: number, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec): void
    Parameters (8)
    • U
    • V
    • Pos
    • Radius
    • SAngle
    • P
    • Vu
    • Vv
  • CylinderD1(U: number, V: number, Pos: gp_Ax3, Radius: number, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec): void
    Parameters (7)
    • U
    • V
    • Pos
    • Radius
    • P
    • Vu
    • Vv
  • SphereD1(U: number, V: number, Pos: gp_Ax3, Radius: number, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec): void
    Parameters (7)
    • U
    • V
    • Pos
    • Radius
    • P
    • Vu
    • Vv
  • TorusD1(U: number, V: number, Pos: gp_Ax3, MajorRadius: number, MinorRadius: number, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec): void
    Parameters (8)
    • U
    • V
    • Pos
    • MajorRadius
    • MinorRadius
    • P
    • Vu
    • Vv
  • ConeD2(U: number, V: number, Pos: gp_Ax3, Radius: number, SAngle: number, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec, Vuu: gp_Vec, Vvv: gp_Vec, Vuv: gp_Vec): void
    Parameters (11)
    • U
    • V
    • Pos
    • Radius
    • SAngle
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
  • CylinderD2(U: number, V: number, Pos: gp_Ax3, Radius: number, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec, Vuu: gp_Vec, Vvv: gp_Vec, Vuv: gp_Vec): void
    Parameters (10)
    • U
    • V
    • Pos
    • Radius
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
  • SphereD2(U: number, V: number, Pos: gp_Ax3, Radius: number, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec, Vuu: gp_Vec, Vvv: gp_Vec, Vuv: gp_Vec): void
    Parameters (10)
    • U
    • V
    • Pos
    • Radius
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
  • TorusD2(U: number, V: number, Pos: gp_Ax3, MajorRadius: number, MinorRadius: number, P: gp_Pnt, Vu: gp_Vec, Vv: gp_Vec, Vuu: gp_Vec, Vvv: gp_Vec, Vuv: gp_Vec): void
    Parameters (11)
    • U
    • V
    • Pos
    • MajorRadius
    • MinorRadius
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
  • ConeD3(U: number, V: number, Pos: gp_Ax3, Radius: number, SAngle: number, P: gp_Pnt, 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: gp_Vec): void
    Parameters (15)
    • U
    • V
    • Pos
    • Radius
    • SAngle
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
    • Vuuu
    • Vvvv
    • Vuuv
    • Vuvv
  • CylinderD3(U: number, V: number, Pos: gp_Ax3, Radius: number, P: gp_Pnt, 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: gp_Vec): void
    Parameters (14)
    • U
    • V
    • Pos
    • Radius
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
    • Vuuu
    • Vvvv
    • Vuuv
    • Vuvv
  • SphereD3(U: number, V: number, Pos: gp_Ax3, Radius: number, P: gp_Pnt, 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: gp_Vec): void
    Parameters (14)
    • U
    • V
    • Pos
    • Radius
    • P
    • Vu
    • Vv
    • Vuu
    • Vvv
    • Vuv
    • Vuuu
    • Vvvv
    • Vuuv
    • Vuvv
  • TorusD3(U: number, V: number, Pos: gp_Ax3, MajorRadius: number, MinorRadius: number, P: gp_Pnt, 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: gp_Vec): void

    The following functions compute the parametric values corresponding to a given point on a elementary surface. The point should be on the surface.

    Parameters (15)
    • U
    • V
    • Pos
    • MajorRadius
    • MinorRadius
    • P
      Mutated in place; read the updated value from this argument after the call.
    • Vu
      Mutated in place; read the updated value from this argument after the call.
    • Vv
      Mutated in place; read the updated value from this argument after the call.
    • Vuu
      Mutated in place; read the updated value from this argument after the call.
    • Vvv
      Mutated in place; read the updated value from this argument after the call.
    • Vuv
      Mutated in place; read the updated value from this argument after the call.
    • Vuuu
      Mutated in place; read the updated value from this argument after the call.
    • Vvvv
      Mutated in place; read the updated value from this argument after the call.
    • Vuuv
      Mutated in place; read the updated value from this argument after the call.
    • Vuvv
      Mutated in place; read the updated value from this argument after the call.
  • Parameters(Pl: gp_Pln, P: gp_Pnt, U: number, V: number): { U: number; V: number }

    parametrization P (U, V) = Pl.Location() + U * Pl.XDirection() + V * Pl.YDirection()

    Parameters (4)
    • Pl
    • P
    • U
    • V
    Returns

    A result object with fields:

    • U: updated value from the call.
    • V: updated value from the call.
  • Parameters(C: gp_Cylinder, P: gp_Pnt, U: number, V: number): { U: number; V: number }

    parametrization P (U, V) = Location + V * ZDirection + Radius * (std::cos(U) * XDirection + Sin (U) * YDirection)

    Parameters (4)
    • C
    • P
    • U
    • V
    Returns

    A result object with fields:

    • U: updated value from the call.
    • V: updated value from the call.
  • Parameters(C: gp_Cone, P: gp_Pnt, U: number, V: number): { U: number; V: number }

    parametrization P (U, V) = Location + V * ZDirection + (Radius + V * Tan (SemiAngle)) * (std::cos(U) * XDirection + std::sin(U) * YDirection)

    Parameters (4)
    • C
    • P
    • U
    • V
    Returns

    A result object with fields:

    • U: updated value from the call.
    • V: updated value from the call.
  • Parameters(S: gp_Sphere, P: gp_Pnt, U: number, V: number): { U: number; V: number }

    parametrization P (U, V) = Location + Radius * Cos (V) * (Cos (U) * XDirection + Sin (U) * YDirection) + Radius * Sin (V) * ZDirection

    Parameters (4)
    • S
    • P
    • U
    • V
    Returns

    A result object with fields:

    • U: updated value from the call.
    • V: updated value from the call.
  • Parameters(T: gp_Torus, P: gp_Pnt, U: number, V: number): { U: number; V: number }

    parametrization P (U, V) = Location + (MajorRadius + MinorRadius * std::cos(U)) * (std::cos(V) * XDirection - std::sin(V) * YDirection) + MinorRadius * std::sin(U) * ZDirection

    Parameters (4)
    • T
    • P
    • U
    • V
    Returns

    A result object with fields:

    • U: updated value from the call.
    • V: updated value from the call.
  • PlaneParameters(Pos: gp_Ax3, P: gp_Pnt, U: number, V: number): { U: number; V: number }

    parametrization P (U, V) = Pl.Location() + U * Pl.XDirection() + V * Pl.YDirection()

    Parameters (4)
    • Pos
    • P
    • U
    • V
    Returns

    A result object with fields:

    • U: updated value from the call.
    • V: updated value from the call.
  • CylinderParameters(Pos: gp_Ax3, Radius: number, P: gp_Pnt, U: number, V: number): { U: number; V: number }

    parametrization P (U, V) = Location + V * ZDirection + Radius * (std::cos(U) * XDirection + Sin (U) * YDirection)

    Parameters (5)
    • Pos
    • Radius
    • P
    • U
    • V
    Returns

    A result object with fields:

    • U: updated value from the call.
    • V: updated value from the call.
  • ConeParameters(Pos: gp_Ax3, Radius: number, SAngle: number, P: gp_Pnt, U: number, V: number): { U: number; V: number }

    parametrization P (U, V) = Location + V * ZDirection + (Radius + V * Tan (SemiAngle)) * (std::cos(U) * XDirection + std::sin(U) * YDirection)

    Parameters (6)
    • Pos
    • Radius
    • SAngle
    • P
    • U
    • V
    Returns

    A result object with fields:

    • U: updated value from the call.
    • V: updated value from the call.
  • SphereParameters(Pos: gp_Ax3, Radius: number, P: gp_Pnt, U: number, V: number): { U: number; V: number }

    parametrization P (U, V) = Location + Radius * Cos (V) * (Cos (U) * XDirection + Sin (U) * YDirection) + Radius * Sin (V) * ZDirection

    Parameters (5)
    • Pos
    • Radius
    • P
    • U
    • V
    Returns

    A result object with fields:

    • U: updated value from the call.
    • V: updated value from the call.
  • TorusParameters(Pos: gp_Ax3, MajorRadius: number, MinorRadius: number, P: gp_Pnt, U: number, V: number): { U: number; V: number }

    parametrization P (U, V) = Location + (MajorRadius + MinorRadius * std::cos(U)) * (std::cos(V) * XDirection - std::sin(V) * YDirection) + MinorRadius * std::sin(U) * ZDirection

    Parameters (6)
    • Pos
    • MajorRadius
    • MinorRadius
    • P
    • U
    • V
    Returns

    A result object with fields:

    • U: updated value from the call.
    • V: updated value from the call.
  • PlaneUIso(Pos: gp_Ax3, U: number): gp_Lin

    compute the U Isoparametric gp_Lin of the plane.

    Parameters (2)
    • Pos
    • U
  • CylinderUIso(Pos: gp_Ax3, Radius: number, U: number): gp_Lin

    compute the U Isoparametric gp_Lin of the cylinder.

    Parameters (3)
    • Pos
    • Radius
    • U
  • ConeUIso(Pos: gp_Ax3, Radius: number, SAngle: number, U: number): gp_Lin

    compute the U Isoparametric gp_Lin of the cone.

    Parameters (4)
    • Pos
    • Radius
    • SAngle
    • U
  • SphereUIso(Pos: gp_Ax3, Radius: number, U: number): gp_Circ

    compute the U Isoparametric gp_Circ of the sphere, (the meridian is not trimmed).

    Parameters (3)
    • Pos
    • Radius
    • U
  • TorusUIso(Pos: gp_Ax3, MajorRadius: number, MinorRadius: number, U: number): gp_Circ

    compute the U Isoparametric gp_Circ of the torus.

    Parameters (4)
    • Pos
    • MajorRadius
    • MinorRadius
    • U
  • PlaneVIso(Pos: gp_Ax3, V: number): gp_Lin

    compute the V Isoparametric gp_Lin of the plane.

    Parameters (2)
    • Pos
    • V
  • CylinderVIso(Pos: gp_Ax3, Radius: number, V: number): gp_Circ

    compute the V Isoparametric gp_Circ of the cylinder.

    Parameters (3)
    • Pos
    • Radius
    • V
  • ConeVIso(Pos: gp_Ax3, Radius: number, SAngle: number, V: number): gp_Circ

    compute the V Isoparametric gp_Circ of the cone.

    Parameters (4)
    • Pos
    • Radius
    • SAngle
    • V
  • SphereVIso(Pos: gp_Ax3, Radius: number, V: number): gp_Circ

    compute the V Isoparametric gp_Circ of the sphere, (the meridian is not trimmed).

    Parameters (3)
    • Pos
    • Radius
    • V
  • TorusVIso(Pos: gp_Ax3, MajorRadius: number, MinorRadius: number, V: number): gp_Circ

    compute the V Isoparametric gp_Circ of the torus.

    Parameters (4)
    • Pos
    • MajorRadius
    • MinorRadius
    • V