|
Open CASCADE Technology
6.7.1
|
Implements construction algorithms for a trimmed
cone limited by two planes orthogonal to its axis. The
result is a Geom_RectangularTrimmedSurface surface.
A MakeTrimmedCone provides a framework for:
More...
#include <GC_MakeTrimmedCone.hxx>

Public Member Functions | |
| GC_MakeTrimmedCone (const gp_Pnt &P1, const gp_Pnt &P2, const gp_Pnt &P3, const gp_Pnt &P4) | |
| Make a RectangularTrimmedSurface <TheCone> from Geom It is trimmed by P3 and P4. Its axis is <P1P2> and the radius of its base is the distance between <P3> and <P1P2>. The distance between <P4> and <P1P2> is the radius of the section passing through <P4>. An error iss raised if <P1>,<P2>,<P3>,<P4> are colinear or if <P3P4> is perpendicular to <P1P2> or <P3P4> is colinear to <P1P2>. More... | |
| GC_MakeTrimmedCone (const gp_Pnt &P1, const gp_Pnt &P2, const Standard_Real R1, const Standard_Real R2) | |
Make a RectangularTrimmedSurface from Geom <TheCone> <br>
from a cone and trimmed by two points P1 and P2 and <br>
the two radius <R1> and <R2> of the sections passing <br>
through <P1> an <P2>. <br>
Warning | |
| const Handle_Geom_RectangularTrimmedSurface & | Value () const |
Returns the constructed trimmed cone. <br> StdFail_NotDone if no trimmed cone is constructed. | |
| const Handle_Geom_RectangularTrimmedSurface & | Operator () const |
| operator Handle_Geom_RectangularTrimmedSurface () const | |
Public Member Functions inherited from GC_Root | |
| Standard_Boolean | IsDone () const |
| Returns true if the construction is successful. More... | |
| gce_ErrorType | Status () const |
| Returns the status of the construction: More... | |
Additional Inherited Members | |
Protected Attributes inherited from GC_Root | |
| gce_ErrorType | TheError |
Implements construction algorithms for a trimmed
cone limited by two planes orthogonal to its axis. The
result is a Geom_RectangularTrimmedSurface surface.
A MakeTrimmedCone provides a framework for:
| GC_MakeTrimmedCone::GC_MakeTrimmedCone | ( | const gp_Pnt & | P1, |
| const gp_Pnt & | P2, | ||
| const gp_Pnt & | P3, | ||
| const gp_Pnt & | P4 | ||
| ) |
Make a RectangularTrimmedSurface <TheCone> from Geom
It is trimmed by P3 and P4.
Its axis is <P1P2> and the radius of its base is
the distance between <P3> and <P1P2>.
The distance between <P4> and <P1P2> is the radius of
the section passing through <P4>.
An error iss raised if <P1>,<P2>,<P3>,<P4> are
colinear or if <P3P4> is perpendicular to <P1P2> or
<P3P4> is colinear to <P1P2>.
| GC_MakeTrimmedCone::GC_MakeTrimmedCone | ( | const gp_Pnt & | P1, |
| const gp_Pnt & | P2, | ||
| const Standard_Real | R1, | ||
| const Standard_Real | R2 | ||
| ) |
Make a RectangularTrimmedSurface from Geom <TheCone> <br>
from a cone and trimmed by two points P1 and P2 and <br>
the two radius <R1> and <R2> of the sections passing <br>
through <P1> an <P2>. <br>
Warning
If an error occurs (that is, when IsDone returns
false), the Status function returns:
| const Handle_Geom_RectangularTrimmedSurface& GC_MakeTrimmedCone::Operator | ( | ) | const |
| GC_MakeTrimmedCone::operator Handle_Geom_RectangularTrimmedSurface | ( | ) | const |
| const Handle_Geom_RectangularTrimmedSurface& GC_MakeTrimmedCone::Value | ( | ) | const |
Returns the constructed trimmed cone. <br>
StdFail_NotDone if no trimmed cone is constructed.
1.8.5