#include <GC_MakeTrimmedCone.hxx>
Inheritance diagram for GC_MakeTrimmedCone:
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | 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>. . | |
Standard_EXPORT | GC_MakeTrimmedCone (const gp_Pnt &P1, const gp_Pnt &P2, const Standard_Real R1, const Standard_Real R2) |
Make a RectangularTrimmedSurface from Geom <thecone> from a cone and trimmed by two points P1 and P2 and the two radius <r1> and <r2> of the sections passing through <p1> an <p2>. Warning If an error occurs (that is, when IsDone returns false), the Status function returns: - gce_ConfusedPoints if points P1 and P2, or P3 and P4, are coincident; - gce_NullAngle if: - the lines joining P1 to P2 and P3 to P4 are parallel, or - R1 and R2 are equal (i.e. their difference is less than gp::Resolution()); - gce_NullRadius if: - the line joining P1 to P2 is perpendicular to the line joining P3 to P4, or - the points P1, P2, P3 and P4 are collinear; - gce_NegativeRadius if R1 or R2 is negative; or - gce_NullAxis if points P1 and P2 are coincident (2nd syntax only). . | |
Standard_EXPORT const Handle_Geom_RectangularTrimmedSurface & | Value () const |
Returns the constructed trimmed cone. StdFail_NotDone if no trimmed cone is constructed. . | |
Standard_EXPORT const Handle_Geom_RectangularTrimmedSurface & | Operator () const |
Standard_EXPORT | operator Handle_Geom_RectangularTrimmedSurface () const |
Private Attributes | |
Handle_Geom_RectangularTrimmedSurface | TheCone |
|
|
|
|
|
|
|
Reimplemented from GC_Root. |
|
|
|
Reimplemented from GC_Root. |
|
Reimplemented from GC_Root. |
|
|
|
|