#include <BRepAdaptor_Curve.hxx>
Inheritance diagram for BRepAdaptor_Curve:
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | BRepAdaptor_Curve () |
Creates an undefined Curve with no Edge loaded. . | |
Standard_EXPORT | BRepAdaptor_Curve (const TopoDS_Edge &E) |
Creates a Curve to acces to the geometry of edge <e>. . | |
Standard_EXPORT | BRepAdaptor_Curve (const TopoDS_Edge &E, const TopoDS_Face &F) |
Creates a Curve to acces to the geometry of edge <e>. The geometry will be computed using the parametric curve of <e> on the face <f>. An Error is raised if the edge does not have a pcurve on the face. . | |
Standard_EXPORT void | Initialize (const TopoDS_Edge &E) |
Sets the Curve <me> to acces to the geometry of edge <e>. . | |
Standard_EXPORT void | Initialize (const TopoDS_Edge &E, const TopoDS_Face &F) |
Sets the Curve <me> to acces to the geometry of edge <e>. The geometry will be computed using the parametric curve of <e> on the face <f>. An Error is raised if the edge does not have a pcurve on the face. . | |
Standard_EXPORT const gp_Trsf & | Trsf () const |
Returns the coordinate system of the curve. . | |
Standard_EXPORT Standard_Boolean | Is3DCurve () const |
Returns True if the edge geometry is computed from a 3D curve. . | |
Standard_EXPORT Standard_Boolean | IsCurveOnSurface () const |
Returns True if the edge geometry is computed from a pcurve on a surface. . | |
Standard_EXPORT const GeomAdaptor_Curve & | Curve () const |
Returns the Curve of the edge. . | |
Standard_EXPORT const Adaptor3d_CurveOnSurface & | CurveOnSurface () const |
Returns the CurveOnSurface of the edge. . | |
Standard_EXPORT const TopoDS_Edge & | Edge () const |
Returns the edge. . | |
Standard_EXPORT Standard_Real | Tolerance () const |
Returns the edge tolerance. . | |
Standard_EXPORT Standard_Real | FirstParameter () const |
Standard_EXPORT Standard_Real | LastParameter () const |
Standard_EXPORT GeomAbs_Shape | Continuity () const |
Standard_EXPORT Standard_Integer | NbIntervals (const GeomAbs_Shape S) |
Returns the number of intervals for continuity <s>. May be one if Continuity(me) >= <s> . | |
Standard_EXPORT void | Intervals (TColStd_Array1OfReal &T, const GeomAbs_Shape S) |
Stores in <t> the parameters bounding the intervals of continuity <s>. The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals() . | |
Standard_EXPORT Handle_Adaptor3d_HCurve | Trim (const Standard_Real First, const Standard_Real Last, const Standard_Real Tol) const |
Returns a curve equivalent of <me> between parameters <first> and <last>. <tol> is used to test for 3d points confusion. //! If <first> >= <last> . | |
Standard_EXPORT Standard_Boolean | IsClosed () const |
Standard_EXPORT Standard_Boolean | IsPeriodic () const |
Standard_EXPORT Standard_Real | Period () const |
Standard_EXPORT gp_Pnt | Value (const Standard_Real U) const |
Computes the point of parameter U on the curve . | |
Standard_EXPORT void | D0 (const Standard_Real U, gp_Pnt &P) const |
Computes the point of parameter U. . | |
Standard_EXPORT void | D1 (const Standard_Real U, gp_Pnt &P, gp_Vec &V) const |
Computes the point of parameter U on the curve with its first derivative. //! Raised if the continuity of the current interval is not C1. . | |
Standard_EXPORT void | D2 (const Standard_Real U, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2) const |
Returns the point P of parameter U, the first and second derivatives V1 and V2. //! Raised if the continuity of the current interval is not C2. . | |
Standard_EXPORT void | D3 (const Standard_Real U, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2, gp_Vec &V3) const |
Returns the point P of parameter U, the first, the second and the third derivative. //! Raised if the continuity of the current interval is not C3. . | |
Standard_EXPORT gp_Vec | DN (const Standard_Real U, const Standard_Integer N) const |
The returned vector gives the value of the derivative for the order of derivation N. //! Raised if the continuity of the current interval is not CN. //! Raised if N < 1. . | |
Standard_EXPORT Standard_Real | Resolution (const Standard_Real R3d) const |
returns the parametric resolution | |
Standard_EXPORT GeomAbs_CurveType | GetType () const |
Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. . | |
Standard_EXPORT gp_Lin | Line () const |
Standard_EXPORT gp_Circ | Circle () const |
Standard_EXPORT gp_Elips | Ellipse () const |
Standard_EXPORT gp_Hypr | Hyperbola () const |
Standard_EXPORT gp_Parab | Parabola () const |
Standard_EXPORT Standard_Integer | Degree () const |
Standard_EXPORT Standard_Boolean | IsRational () const |
Standard_EXPORT Standard_Integer | NbPoles () const |
Standard_EXPORT Standard_Integer | NbKnots () const |
Standard_EXPORT Handle_Geom_BezierCurve | Bezier () const |
Warning : This will make a copy of the Bezier Curve since it applies to it myTsrf . Be carefull when using this method . | |
Standard_EXPORT Handle_Geom_BSplineCurve | BSpline () const |
Warning : This will make a copy of the BSpline Curve since it applies to it myTsrf . Be carefull when using this method . | |
Private Attributes | |
gp_Trsf | myTrsf |
GeomAdaptor_Curve | myCurve |
Handle_Adaptor3d_HCurveOnSurface | myConSurf |
TopoDS_Edge | myEdge |
|
|
|
|
|
|
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
|
|
|
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
|
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
|
|
|
|
Reimplemented from Adaptor3d_Curve. |
|
|
|
Reimplemented from Adaptor3d_Curve. |
|
|
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
Reimplemented from Adaptor3d_Curve. |
|
|
|
Reimplemented from Adaptor3d_Curve. |
|
|
|
Reimplemented from Adaptor3d_Curve. |
|
|
|
|
|
|
|
|