OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKG3d
Geom


Geom_Geometry Class Reference

The abstract class Geometry for 3D space is the root
class of all geometric objects from the Geom
package. It describes the common behavior of these objects when:
- applying geometric transformations to objects, and
- constructing objects by geometric transformation (including copying).
Warning
Only transformations which do not modify the nature
of the geometry can be applied to Geom objects: this
is the case with translations, rotations, symmetries
and scales; this is also the case with gp_Trsf
composite transformations which are used to define
the geometric transformations applied using the
Transform or Transformed functions.
Note: Geometry defines the "prototype" of the
abstract method Transform which is defined for each
concrete type of derived object. All other
transformations are implemented using the Transform method.
.

#include <Geom_Geometry.hxx>

Inheritance diagram for Geom_Geometry:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT void Mirror (const gp_Pnt &P)
 Performs the symmetrical transformation of a Geometry
with respect to the point P which is the center of the
symmetry.
.
Standard_EXPORT void Mirror (const gp_Ax1 &A1)
 Performs the symmetrical transformation of a Geometry
with respect to an axis placement which is the axis of the
symmetry.
.
Standard_EXPORT void Mirror (const gp_Ax2 &A2)
 Performs the symmetrical transformation of a Geometry
with respect to a plane. The axis placement A2 locates
the plane of the symmetry : (Location, XDirection, YDirection).
.
Standard_EXPORT void Rotate (const gp_Ax1 &A1, const Standard_Real Ang)
 Rotates a Geometry. A1 is the axis of the rotation.
Ang is the angular value of the rotation in radians.
.
Standard_EXPORT void Scale (const gp_Pnt &P, const Standard_Real S)
 Scales a Geometry. S is the scaling value.
.
Standard_EXPORT void Translate (const gp_Vec &V)
 Translates a Geometry. V is the vector of the tanslation.
.
Standard_EXPORT void Translate (const gp_Pnt &P1, const gp_Pnt &P2)
 Translates a Geometry from the point P1 to the point P2.
.
virtual Standard_EXPORT void Transform (const gp_Trsf &T)=0
 Transformation of a geometric object. This tansformation
can be a translation, a rotation, a symmetry, a scaling
or a complex transformation obtained by combination of
the previous elementaries transformations.
(see class Transformation of the package Geom).
.
Standard_EXPORT Handle_Geom_Geometry Mirrored (const gp_Pnt &P) const
Standard_EXPORT Handle_Geom_Geometry Mirrored (const gp_Ax1 &A1) const
Standard_EXPORT Handle_Geom_Geometry Mirrored (const gp_Ax2 &A2) const
Standard_EXPORT Handle_Geom_Geometry Rotated (const gp_Ax1 &A1, const Standard_Real Ang) const
Standard_EXPORT Handle_Geom_Geometry Scaled (const gp_Pnt &P, const Standard_Real S) const
Standard_EXPORT Handle_Geom_Geometry Transformed (const gp_Trsf &T) const
Standard_EXPORT Handle_Geom_Geometry Translated (const gp_Vec &V) const
Standard_EXPORT Handle_Geom_Geometry Translated (const gp_Pnt &P1, const gp_Pnt &P2) const
virtual Standard_EXPORT Handle_Geom_Geometry Copy () const =0
 Creates a new object which is a copy of this geometric object.
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Member Function Documentation

virtual Standard_EXPORT Handle_Geom_Geometry Geom_Geometry::Copy  )  const [pure virtual]
 

Implemented in Geom_Axis1Placement, Geom_Axis2Placement, Geom_BezierCurve, Geom_BezierSurface, Geom_BSplineCurve, Geom_BSplineSurface, Geom_CartesianPoint, Geom_Circle, Geom_ConicalSurface, Geom_CylindricalSurface, Geom_Direction, Geom_Ellipse, Geom_Hyperbola, Geom_Line, Geom_OffsetCurve, Geom_OffsetSurface, Geom_Parabola, Geom_Plane, Geom_RectangularTrimmedSurface, Geom_SphericalSurface, Geom_SurfaceOfLinearExtrusion, Geom_SurfaceOfRevolution, Geom_ToroidalSurface, Geom_TrimmedCurve, and Geom_VectorWithMagnitude.

Standard_EXPORT const Geom_Geometry::Handle Standard_Type   )  const
 

Reimplemented in Geom_Axis1Placement, Geom_Axis2Placement, Geom_AxisPlacement, Geom_BezierCurve, Geom_BezierSurface, Geom_BoundedCurve, Geom_BoundedSurface, Geom_BSplineCurve, Geom_BSplineSurface, Geom_CartesianPoint, Geom_Circle, Geom_Conic, Geom_ConicalSurface, Geom_Curve, Geom_CylindricalSurface, Geom_Direction, Geom_ElementarySurface, Geom_Ellipse, Geom_Hyperbola, Geom_Line, Geom_OffsetCurve, Geom_OffsetSurface, Geom_Parabola, Geom_Plane, Geom_Point, Geom_RectangularTrimmedSurface, Geom_SphericalSurface, Geom_Surface, Geom_SurfaceOfLinearExtrusion, Geom_SurfaceOfRevolution, Geom_SweptSurface, Geom_ToroidalSurface, Geom_TrimmedCurve, Geom_Vector, and Geom_VectorWithMagnitude.

Standard_EXPORT void Geom_Geometry::Mirror const gp_Ax2 &  A2  ) 
 

Standard_EXPORT void Geom_Geometry::Mirror const gp_Ax1 &  A1  ) 
 

Standard_EXPORT void Geom_Geometry::Mirror const gp_Pnt &  P  ) 
 

Standard_EXPORT Handle_Geom_Geometry Geom_Geometry::Mirrored const gp_Ax2 &  A2  )  const
 

Standard_EXPORT Handle_Geom_Geometry Geom_Geometry::Mirrored const gp_Ax1 &  A1  )  const
 

Standard_EXPORT Handle_Geom_Geometry Geom_Geometry::Mirrored const gp_Pnt &  P  )  const
 

Standard_EXPORT void Geom_Geometry::Rotate const gp_Ax1 &  A1,
const Standard_Real  Ang
 

Standard_EXPORT Handle_Geom_Geometry Geom_Geometry::Rotated const gp_Ax1 &  A1,
const Standard_Real  Ang
const
 

Standard_EXPORT void Geom_Geometry::Scale const gp_Pnt &  P,
const Standard_Real  S
 

Standard_EXPORT Handle_Geom_Geometry Geom_Geometry::Scaled const gp_Pnt &  P,
const Standard_Real  S
const
 

virtual Standard_EXPORT void Geom_Geometry::Transform const gp_Trsf &  T  )  [pure virtual]
 

Implemented in Geom_Axis1Placement, Geom_Axis2Placement, Geom_BezierCurve, Geom_BezierSurface, Geom_BSplineCurve, Geom_BSplineSurface, Geom_CartesianPoint, Geom_Circle, Geom_ConicalSurface, Geom_CylindricalSurface, Geom_Direction, Geom_Ellipse, Geom_Hyperbola, Geom_Line, Geom_OffsetCurve, Geom_OffsetSurface, Geom_Parabola, Geom_Plane, Geom_RectangularTrimmedSurface, Geom_SphericalSurface, Geom_SurfaceOfLinearExtrusion, Geom_SurfaceOfRevolution, Geom_ToroidalSurface, Geom_TrimmedCurve, and Geom_VectorWithMagnitude.

Standard_EXPORT Handle_Geom_Geometry Geom_Geometry::Transformed const gp_Trsf &  T  )  const
 

Standard_EXPORT void Geom_Geometry::Translate const gp_Pnt &  P1,
const gp_Pnt &  P2
 

Standard_EXPORT void Geom_Geometry::Translate const gp_Vec &  V  ) 
 

Standard_EXPORT Handle_Geom_Geometry Geom_Geometry::Translated const gp_Pnt &  P1,
const gp_Pnt &  P2
const
 

Standard_EXPORT Handle_Geom_Geometry Geom_Geometry::Translated const gp_Vec &  V  )  const
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:22:55 2008 for OpenCASCADE by  doxygen 1.4.1