1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
|
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _BRepBlend_Line_HeaderFile
#define _BRepBlend_Line_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_BRepBlend_Line.hxx>
#include <Blend_SequenceOfPoint.hxx>
#include <IntSurf_TypeTrans.hxx>
#include <BRepBlend_Extremity.hxx>
#include <Standard_Boolean.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Integer.hxx>
class Standard_OutOfRange;
class Blend_Point;
class BRepBlend_Extremity;
class BRepBlend_Line : public MMgt_TShared
{
public:
Standard_EXPORT BRepBlend_Line();
//! Clears the content of the line.
Standard_EXPORT void Clear() ;
//! Adds a point in the line.
void Append (const Blend_Point& P) ;
//! Adds a point in the line at the first place.
void Prepend (const Blend_Point& P) ;
//! Adds a point in the line at the first place.
void InsertBefore (const Standard_Integer Index, const Blend_Point& P) ;
//! Removes from <me> all the items of
//! positions between <FromIndex> and <ToIndex>.
//! Raises an exception if the indices are out of bounds.
void Remove (const Standard_Integer FromIndex, const Standard_Integer ToIndex) ;
//! Sets the value of the transition of the line on S1 and
//! the line on S2.
Standard_EXPORT void Set (const IntSurf_TypeTrans TranS1, const IntSurf_TypeTrans TranS2) ;
//! Sets the value of the transition of the line on a surface
Standard_EXPORT void Set (const IntSurf_TypeTrans Trans) ;
//! Sets the values of the start points for the line.
void SetStartPoints (const BRepBlend_Extremity& StartPt1, const BRepBlend_Extremity& StartPt2) ;
//! Sets tne values of the end points for the line.
void SetEndPoints (const BRepBlend_Extremity& EndPt1, const BRepBlend_Extremity& EndPt2) ;
//! Returns the number of points in the line.
Standard_Integer NbPoints() const;
//! Returns the point of range Index.
const Blend_Point& Point (const Standard_Integer Index) const;
//! Returns the type of the transition of the line defined
//! on the first surface. The transition is "constant"
//! along the line.
//! The transition is IN if the line is oriented in such
//! a way that the system of vectors (N,DRac,T) is
//! right-handed, where
//! N is the normal to the first surface at a point P,
//! DRac is a vector tangent to the blending patch,
//! oriented towards the valid part of this patch,
//! T is the tangent to the line on S1 at P.
//! The transitioon is OUT when the system of vectors is
//! left-handed.
IntSurf_TypeTrans TransitionOnS1() const;
//! Returns the type of the transition of the line defined
//! on the second surface. The transition is "constant"
//! along the line.
IntSurf_TypeTrans TransitionOnS2() const;
//! Returns the start point on S1.
const BRepBlend_Extremity& StartPointOnFirst() const;
//! Returns the start point on S2
const BRepBlend_Extremity& StartPointOnSecond() const;
//! Returns the end point on S1.
const BRepBlend_Extremity& EndPointOnFirst() const;
//! Returns the point on S2.
const BRepBlend_Extremity& EndPointOnSecond() const;
//! Returns the type of the transition of the line defined
//! on the surface.
IntSurf_TypeTrans TransitionOnS() const;
DEFINE_STANDARD_RTTI(BRepBlend_Line)
protected:
private:
Blend_SequenceOfPoint seqpt;
IntSurf_TypeTrans tras1;
IntSurf_TypeTrans tras2;
BRepBlend_Extremity stp1;
BRepBlend_Extremity stp2;
BRepBlend_Extremity endp1;
BRepBlend_Extremity endp2;
Standard_Boolean hass1;
Standard_Boolean hass2;
};
#include <BRepBlend_Line.lxx>
#endif // _BRepBlend_Line_HeaderFile
|