Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Geom_SphericalSurface Class Reference

SphericalSurface SphericalSurface.hxx cadex/Geom/SphericalSurface.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Geom_SphericalSurface:
manufacturingtoolkit.CadExMTK.Geom_ElementarySurface manufacturingtoolkit.CadExMTK.Geom_Surface manufacturingtoolkit.CadExMTK.Geom_Geometry manufacturingtoolkit.CadExMTK.BaseObject

Public Member Functions

 __init__ (self, thePosition, theRadius)
 Constructor.
 
 Radius (self)
 Returns radius.
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Geom_ElementarySurface
 Position (self)
 Returns a surface axis.
 
 Location (self)
 Returns origin point.
 
 Direction (self)
 Returns Z direction of the axis placement.
 
 Parameter (self, thePoint)
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Geom_Surface
 Type (self)
 Returns a surface type.
 
 Continuity (self)
 Returns a continuity type of the surface.
 
 Value (self, theParameterU, theParameterV)
 Evaluates a point on the surface.
 
 Normal (self, theParameterU, theParameterV)
 
 IsUPeriodic (self)
 Returns true if the surface is periodic in U direction.
 
 IsVPeriodic (self)
 Returns true if the surface is periodic in V direction.
 
 UMin (self)
 Returns a minimum parameter of a definition domain in U direction.
 
 UMax (self)
 Returns a maximum parameter of a definition domain in U direction.
 
 VMin (self)
 Returns a minimum parameter of a definition domain in V direction.
 
 VMax (self)
 Returns a maximum parameter of a definition domain in V direction.
 
 Domain (self)
 Returns a definition domain.
 
 IsTrimmed (self)
 Returns whether surface is trimmed or not.
 
 SetTrim (self, theUFirst, theULast, theVFirst, theVLast)
 Trims surface with [theUFirst, theULast] x [theVFirst, theVLast] section.
 
 Transform (self, theTransformation)
 Applies transformation matrix to this object.
 
 Transformed (self, theTransformation)
 Returns a copy this object after applying transformation.
 
 D0 (self, theParameterU, theParameterV, theValue)
 
 D1 (self, theParameterU, theParameterV, theValue, theD1U, theD1V)
 
 D2 (self, theParameterU, theParameterV, theValue, theD1U, theD1V, theD2U, theD2V, theD2UV)
 
 DN (self, theParameterU, theParameterV, theDerivativeOrder, theValue, theD)
 Returns true if calculation was passed succsesfully, the returned vectors gives the value of the derivative for the order of derivation theDerivativeOrder.
 
 Curvature (self, *args)
 
 Mirror (self, *args)
 
 Mirrored (self, *args)
 
 Rotate (self, theAxis, theAngle)
 
 Rotated (self, theAxis, theAngle)
 
 Translate (self, theVector)
 
 Translated (self, theVector)
 
 Scale (self, thePoint, theScale)
 
 Scaled (self, thePoint, theScale)
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject
 Id (self)
 Return unique identifier of public object.
 
 IsNull (self)
 

Static Public Member Functions

 CompareType (theObject)
 
 Cast (theBase)
 

Detailed Description

SphericalSurface SphericalSurface.hxx cadex/Geom/SphericalSurface.hxx.

Defines a spherical surface.

A spherical surface is defined by an axis placement and a radius. The following image depicts a spherical surface example:

Spherical surface

A spherical surface is parametrized as follows: \(\mathbf{S}(u,v) = \mathbf{P} + R\cos(v)(\cos(u)\mathbf{D}_x + \sin(u)\mathbf{D}_y) + R\sin(v)\mathbf{D}_z\), where

  • \(\mathbf{P}\) is an origin point,
  • \(\mathbf{D}_x\), \(\mathbf{D}_y\) and \(\mathbf{D}_z\) are directions (unit vectors) of X, Y and Z axes respectively,
  • \(R\) is a radius,
  • \(u\) belongs to \([0, 2\pi]\),
  • \(v\) belongs to \([-\frac{\pi}{2}, \frac{\pi}{2}]\).

U-parameter is an angle of rotation around the Dz axis counterclockwise (i.e. similar to longitude on the Earth), and V-parameter is an angle between plane defined by an axis placement and line from P to a point on a sphere (i.e. latitude). Thus, U-isolines are semi-circles and V-isoline are circles.

V-isoline at \(v=0\) is a circle of radius \(R\) in the plane defined by an axis placement. U-isoline at \(u=0\) corresponds to a semi-circle from south to north pole.

Spherical surface is U-periodical with period \(2\pi\).

If a face lies on a full spherical surface its boundary wire will contain two a degenerated edges corresponding to the south and north poles (V equals \(-\frac{\pi}{2}\) and \(\frac{\pi}{2}\) respectively), and a seam-edge.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Geom_SphericalSurface.__init__ ( self,
thePosition,
theRadius )

Constructor.

Reimplemented from manufacturingtoolkit.CadExMTK.Geom_ElementarySurface.

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.Geom_SphericalSurface.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.Geom_SphericalSurface.CompareType ( theObject)
static

The documentation for this class was generated from the following file:
  • CadExMTK.py