Open CASCADE Technology
6.5.4
|
Describes a plane in 3D space.
A plane is positioned in space by a coordinate system
(a gp_Ax3 object) such that the plane is defined by
the origin, "X Direction" and "Y Direction" of this
coordinate system.
This coordinate system is the "local coordinate <br>
system" of the plane. The following apply:
More...
#include <Geom_Plane.hxx>
Public Member Functions | |
Geom_Plane (const gp_Ax3 &A3) | |
Creates a plane located in 3D space with an axis placement three axis. The "ZDirection" of "A3" is the direction normal to the plane. The "Location" point of "A3" is the origin of the plane. The "XDirection" and "YDirection" of "A3" define the directions of the U isoparametric and V isoparametric curves. | |
Geom_Plane (const gp_Pln &Pl) | |
Creates a plane from a non transient plane from package gp. | |
Geom_Plane (const gp_Pnt &P, const gp_Dir &V) | |
P is the "Location" point or origin of the plane. V is the direction normal to the plane. | |
Geom_Plane (const Standard_Real A, const Standard_Real B, const Standard_Real C, const Standard_Real D) | |
Creates a plane from its cartesian equation : Ax + By + Cz + D = 0.0 Raised if Sqrt (A*A + B*B + C*C) <= Resolution from gp | |
void | SetPln (const gp_Pln &Pl) |
Set <me> so that <me> has the same geometric properties as Pl. | |
gp_Pln | Pln () const |
Converts this plane into a gp_Pln plane. | |
virtual void | UReverse () |
Changes the orientation of this plane in the u (or v) parametric direction. The bounds of the plane are not changed but the given parametric direction is reversed. Hence the orientation of the surface is reversed. | |
Standard_Real | UReversedParameter (const Standard_Real U) const |
Computes the u parameter on the modified plane, produced when reversing the u parametric of this plane, for any point of u parameter U on this plane. In the case of a plane, these methods return - -U. | |
virtual void | VReverse () |
Changes the orientation of this plane in the u (or v) parametric direction. The bounds of the plane are not changed but the given parametric direction is reversed. Hence the orientation of the surface is reversed. | |
Standard_Real | VReversedParameter (const Standard_Real V) const |
Computes the v parameter on the modified plane, produced when reversing the v parametric of this plane, for any point of v parameter V on this plane. In the case of a plane, these methods return -V. | |
virtual void | TransformParameters (Standard_Real &U, Standard_Real &V, const gp_Trsf &T) const |
Computes the parameters on the transformed surface for the transform of the point of parameters U,V on <me>. me->Transformed(T)->Value(U',V') is the same point as me->Value(U,V).Transformed(T) Where U',V' are the new values of U,V after calling me->TranformParameters(U,V,T) This methods multiplies U and V by T.ScaleFactor() | |
virtual gp_GTrsf2d | ParametricTransformation (const gp_Trsf &T) const |
Returns a 2d transformation used to find the new parameters of a point on the transformed surface. me->Transformed(T)->Value(U',V') is the same point as me->Value(U,V).Transformed(T) Where U',V' are obtained by transforming U,V with th 2d transformation returned by me->ParametricTransformation(T) This methods returns a scale centered on the origin with T.ScaleFactor | |
void | Bounds (Standard_Real &U1, Standard_Real &U2, Standard_Real &V1, Standard_Real &V2) const |
Returns the parametric bounds U1, U2, V1 and V2 of this plane. Because a plane is an infinite surface, the following is always true: | |
void | Coefficients (Standard_Real &A, Standard_Real &B, Standard_Real &C, Standard_Real &D) const |
Computes the normalized coefficients of the plane's cartesian equation : Ax + By + Cz + D = 0.0 | |
Standard_Boolean | IsUClosed () const |
return False | |
Standard_Boolean | IsVClosed () const |
return False | |
Standard_Boolean | IsUPeriodic () const |
return False. | |
Standard_Boolean | IsVPeriodic () const |
return False. | |
Handle_Geom_Curve | UIso (const Standard_Real U) const |
Computes the U isoparametric curve. This is a Line parallel to the YAxis of the plane. | |
Handle_Geom_Curve | VIso (const Standard_Real V) const |
Computes the V isoparametric curve. This is a Line parallel to the XAxis of the plane. | |
void | D0 (const Standard_Real U, const Standard_Real V, gp_Pnt &P) const |
Computes the point P (U, V) on <me>. P = O + U * XDir + V * YDir. where O is the "Location" point of the plane, XDir the "XDirection" and YDir the "YDirection" of the plane's local coordinate system. | |
void | D1 (const Standard_Real U, const Standard_Real V, gp_Pnt &P, gp_Vec &D1U, gp_Vec &D1V) const |
Computes the current point and the first derivatives in the directions U and V. | |
void | D2 (const Standard_Real U, const Standard_Real V, gp_Pnt &P, gp_Vec &D1U, gp_Vec &D1V, gp_Vec &D2U, gp_Vec &D2V, gp_Vec &D2UV) const |
Computes the current point, the first and the second derivatives in the directions U and V. | |
void | D3 (const Standard_Real U, const Standard_Real V, gp_Pnt &P, gp_Vec &D1U, gp_Vec &D1V, gp_Vec &D2U, gp_Vec &D2V, gp_Vec &D2UV, gp_Vec &D3U, gp_Vec &D3V, gp_Vec &D3UUV, gp_Vec &D3UVV) const |
Computes the current point, the first,the second and the third derivatives in the directions U and V. | |
gp_Vec | DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const |
Computes the derivative of order Nu in the direction u and Nv in the direction v. //! Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0. | |
void | Transform (const gp_Trsf &T) |
Applies the transformation T to this plane. | |
Handle_Geom_Geometry | Copy () const |
Creates a new object which is a copy of this plane. |
Geom_Plane::Geom_Plane | ( | const gp_Ax3 & | A3 | ) |
Geom_Plane::Geom_Plane | ( | const gp_Pln & | Pl | ) |
Geom_Plane::Geom_Plane | ( | const gp_Pnt & | P, |
const gp_Dir & | V | ||
) |
Geom_Plane::Geom_Plane | ( | const Standard_Real | A, |
const Standard_Real | B, | ||
const Standard_Real | C, | ||
const Standard_Real | D | ||
) |
void Geom_Plane::Bounds | ( | Standard_Real & | U1, |
Standard_Real & | U2, | ||
Standard_Real & | V1, | ||
Standard_Real & | V2 | ||
) | const [virtual] |
Implements Geom_Surface.
void Geom_Plane::Coefficients | ( | Standard_Real & | A, |
Standard_Real & | B, | ||
Standard_Real & | C, | ||
Standard_Real & | D | ||
) | const |
Handle_Geom_Geometry Geom_Plane::Copy | ( | ) | const [virtual] |
Implements Geom_Geometry.
void Geom_Plane::D0 | ( | const Standard_Real | U, |
const Standard_Real | V, | ||
gp_Pnt & | P | ||
) | const [virtual] |
Implements Geom_Surface.
void Geom_Plane::D1 | ( | const Standard_Real | U, |
const Standard_Real | V, | ||
gp_Pnt & | P, | ||
gp_Vec & | D1U, | ||
gp_Vec & | D1V | ||
) | const [virtual] |
Implements Geom_Surface.
void Geom_Plane::D2 | ( | const Standard_Real | U, |
const Standard_Real | V, | ||
gp_Pnt & | P, | ||
gp_Vec & | D1U, | ||
gp_Vec & | D1V, | ||
gp_Vec & | D2U, | ||
gp_Vec & | D2V, | ||
gp_Vec & | D2UV | ||
) | const [virtual] |
Implements Geom_Surface.
void Geom_Plane::D3 | ( | const Standard_Real | U, |
const Standard_Real | V, | ||
gp_Pnt & | P, | ||
gp_Vec & | D1U, | ||
gp_Vec & | D1V, | ||
gp_Vec & | D2U, | ||
gp_Vec & | D2V, | ||
gp_Vec & | D2UV, | ||
gp_Vec & | D3U, | ||
gp_Vec & | D3V, | ||
gp_Vec & | D3UUV, | ||
gp_Vec & | D3UVV | ||
) | const [virtual] |
Implements Geom_Surface.
gp_Vec Geom_Plane::DN | ( | const Standard_Real | U, |
const Standard_Real | V, | ||
const Standard_Integer | Nu, | ||
const Standard_Integer | Nv | ||
) | const [virtual] |
Implements Geom_Surface.
Standard_Boolean Geom_Plane::IsUClosed | ( | ) | const [virtual] |
Implements Geom_Surface.
Standard_Boolean Geom_Plane::IsUPeriodic | ( | ) | const [virtual] |
Implements Geom_Surface.
Standard_Boolean Geom_Plane::IsVClosed | ( | ) | const [virtual] |
Implements Geom_Surface.
Standard_Boolean Geom_Plane::IsVPeriodic | ( | ) | const [virtual] |
Implements Geom_Surface.
virtual gp_GTrsf2d Geom_Plane::ParametricTransformation | ( | const gp_Trsf & | T | ) | const [virtual] |
Reimplemented from Geom_Surface.
gp_Pln Geom_Plane::Pln | ( | ) | const |
void Geom_Plane::SetPln | ( | const gp_Pln & | Pl | ) |
void Geom_Plane::Transform | ( | const gp_Trsf & | T | ) | [virtual] |
Implements Geom_Geometry.
virtual void Geom_Plane::TransformParameters | ( | Standard_Real & | U, |
Standard_Real & | V, | ||
const gp_Trsf & | T | ||
) | const [virtual] |
Reimplemented from Geom_Surface.
Handle_Geom_Curve Geom_Plane::UIso | ( | const Standard_Real | U | ) | const [virtual] |
Implements Geom_Surface.
virtual void Geom_Plane::UReverse | ( | ) | [virtual] |
Reimplemented from Geom_ElementarySurface.
Standard_Real Geom_Plane::UReversedParameter | ( | const Standard_Real | U | ) | const [virtual] |
Implements Geom_ElementarySurface.
Handle_Geom_Curve Geom_Plane::VIso | ( | const Standard_Real | V | ) | const [virtual] |
Implements Geom_Surface.
virtual void Geom_Plane::VReverse | ( | ) | [virtual] |
Reimplemented from Geom_ElementarySurface.
Standard_Real Geom_Plane::VReversedParameter | ( | const Standard_Real | V | ) | const [virtual] |
Implements Geom_ElementarySurface.