OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKGeomBase
AppDef


AppDef_MultiLine Class Reference

This class describes the organized set of points used in the
approximations. A MultiLine is composed of n
MultiPointConstraints.
The approximation of the MultiLine will be done in the order
of the given n MultiPointConstraints.
.

#include <AppDef_MultiLine.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT AppDef_MultiLine ()
 creates an undefined MultiLine.

Standard_EXPORT AppDef_MultiLine (const Standard_Integer NbMult)
 given the number NbMult of MultiPointConstraints of this
MultiLine , it initializes all the fields.SetValue must be
called in order for the values of the multipoint
constraint to be taken into account.
An exception is raised if NbMult < 0.

Standard_EXPORT AppDef_MultiLine (const AppDef_Array1OfMultiPointConstraint &tabMultiP)
 Constructs a MultiLine with an array of MultiPointConstraints.
.
Standard_EXPORT AppDef_MultiLine (const TColgp_Array1OfPnt &tabP3d)
 The MultiLine constructed will have one line of
3d points without their tangencies.
.
Standard_EXPORT AppDef_MultiLine (const TColgp_Array1OfPnt2d &tabP2d)
 The MultiLine constructed will have one line of
2d points without their tangencies.
.
Standard_EXPORT Standard_Integer NbMultiPoints () const
 returns the number of MultiPointConstraints of the
MultiLine.

Standard_EXPORT Standard_Integer NbPoints () const
 returns the number of Points from MultiPoints composing
the MultiLine.

Standard_EXPORT void SetParameter (const Standard_Integer Index, const Standard_Real U)
 Sets the value of the parameter for the
MultiPointConstraint at position Index.
Exceptions
- Standard_OutOfRange if Index is less
than 0 or Index is greater than the number
of Multipoint constraints in the MultiLine.
.
Standard_EXPORT void SetValue (const Standard_Integer Index, const AppDef_MultiPointConstraint &MPoint)
 It sets the MultiPointConstraint of range Index to the
value MPoint.
An exception is raised if Index < 0 or Index> MPoint.
An exception is raised if the dimensions of the
MultiPoints are different.
.
Standard_EXPORT AppDef_MultiPointConstraint Value (const Standard_Integer Index) const
 returns the MultiPointConstraint of range Index
An exception is raised if Index<0 or Index>MPoint.

Standard_EXPORT void Dump (Standard_OStream &o) const
 Prints on the stream o information on the current
state of the object.
Is used to redefine the operator <<.
.

Protected Attributes

Handle_AppDef_HArray1OfMultiPointConstraint tabMult


Constructor & Destructor Documentation

Standard_EXPORT AppDef_MultiLine::AppDef_MultiLine  ) 
 

Standard_EXPORT AppDef_MultiLine::AppDef_MultiLine const Standard_Integer  NbMult  ) 
 

Standard_EXPORT AppDef_MultiLine::AppDef_MultiLine const AppDef_Array1OfMultiPointConstraint tabMultiP  ) 
 

Standard_EXPORT AppDef_MultiLine::AppDef_MultiLine const TColgp_Array1OfPnt &  tabP3d  ) 
 

Standard_EXPORT AppDef_MultiLine::AppDef_MultiLine const TColgp_Array1OfPnt2d &  tabP2d  ) 
 


Member Function Documentation

Standard_EXPORT void AppDef_MultiLine::Dump Standard_OStream &  o  )  const
 

Standard_EXPORT Standard_Integer AppDef_MultiLine::NbMultiPoints  )  const
 

Standard_EXPORT Standard_Integer AppDef_MultiLine::NbPoints  )  const
 

void AppDef_MultiLine::operator delete void *  anAddress  )  [inline]
 

void* AppDef_MultiLine::operator new size_t  size  )  [inline]
 

void* AppDef_MultiLine::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT void AppDef_MultiLine::SetParameter const Standard_Integer  Index,
const Standard_Real  U
 

Standard_EXPORT void AppDef_MultiLine::SetValue const Standard_Integer  Index,
const AppDef_MultiPointConstraint MPoint
 

Standard_EXPORT AppDef_MultiPointConstraint AppDef_MultiLine::Value const Standard_Integer  Index  )  const
 


Field Documentation

Handle_AppDef_HArray1OfMultiPointConstraint AppDef_MultiLine::tabMult [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:22:27 2008 for OpenCASCADE by  doxygen 1.4.1