# ApplicationFramework
TKPShape
PGeom2d

# PGeom2d_BSplineCurve Class Reference

`#include <PGeom2d_BSplineCurve.hxx>`

Inheritance diagram for PGeom2d_BSplineCurve:

[legend]

## Public Member Functions

Standard_EXPORT | PGeom2d_BSplineCurve ()
| Creates a BSplineCurve with default values. .
Standard_EXPORT | PGeom2d_BSplineCurve (const Standard_Boolean aRational, const Standard_Boolean aPeriodic, const Standard_Integer aSpineDegree, const Handle(PColgp_HArray1OfPnt2d)&aPoles, const Handle(PColStd_HArray1OfReal)&aWeights, const Handle(PColStd_HArray1OfReal)&aKnots, const Handle(PColStd_HArray1OfInteger)&aMultiplicities)
| Creates a BSplineCurve with these field values. .
Standard_EXPORT void | Periodic (const Standard_Boolean aPeriodic)
| Set the field periodic with <aperiodic>. .
Standard_EXPORT Standard_Boolean | Periodic () const
| Returns the value of the field periodic. .
Standard_EXPORT void | Rational (const Standard_Boolean aRational)
| Set the value of the field rational with <arational>. .
Standard_EXPORT Standard_Boolean | Rational () const
| Returns the value of the field rational. .
Standard_EXPORT void | SpineDegree (const Standard_Integer aSpineDegree)
| Set the value of the field spineDegree with <aspinedegree>. .
Standard_EXPORT Standard_Integer | SpineDegree () const
| Returns the value of the field spineDegree. .
Standard_EXPORT void | Poles (const Handle(PColgp_HArray1OfPnt2d)&aPoles)
| Set the value of the field poles with <apoles>. .
Standard_EXPORT Handle_PColgp_HArray1OfPnt2d | Poles () const
| Returns the value of the field poles. .
Standard_EXPORT void | Weights (const Handle(PColStd_HArray1OfReal)&aWeights)
| Set the value of the field weights with <aweights>. .
Standard_EXPORT Handle_PColStd_HArray1OfReal | Weights () const
| Returns the the value of the field weights. .
Standard_EXPORT void | Knots (const Handle(PColStd_HArray1OfReal)&aKnots)
| Set the field knots with <aknots>. The multiplicity of the knots are not modified. .
Standard_EXPORT Handle_PColStd_HArray1OfReal | Knots () const
| returns the value of the field knots.
Standard_EXPORT void | Multiplicities (const Handle(PColStd_HArray1OfInteger)&aMultiplicities)
| Set the field multiplicities with <amultiplicities>. .
Standard_EXPORT Handle_PColStd_HArray1OfInteger | Multiplicities () const
| returns the value of the field multiplicities.
| PGeom2d_BSplineCurve (const Storage_stCONSTclCOM &a)
Standard_Boolean | _CSFDB_GetPGeom2d_BSplineCurverational () const
void | _CSFDB_SetPGeom2d_BSplineCurverational (const Standard_Boolean p)
Standard_Boolean | _CSFDB_GetPGeom2d_BSplineCurveperiodic () const
void | _CSFDB_SetPGeom2d_BSplineCurveperiodic (const Standard_Boolean p)
Standard_Integer | _CSFDB_GetPGeom2d_BSplineCurvespineDegree () const
void | _CSFDB_SetPGeom2d_BSplineCurvespineDegree (const Standard_Integer p)
| Handle (PColgp_HArray1OfPnt2d) _CSFDB_GetPGeom2d_BSplineCurvepoles() const
void | _CSFDB_SetPGeom2d_BSplineCurvepoles (const Handle(PColgp_HArray1OfPnt2d)&p)
| Handle (PColStd_HArray1OfReal) _CSFDB_GetPGeom2d_BSplineCurveweights() const
void | _CSFDB_SetPGeom2d_BSplineCurveweights (const Handle(PColStd_HArray1OfReal)&p)
| Handle (PColStd_HArray1OfReal) _CSFDB_GetPGeom2d_BSplineCurveknots() const
void | _CSFDB_SetPGeom2d_BSplineCurveknots (const Handle(PColStd_HArray1OfReal)&p)
| Handle (PColStd_HArray1OfInteger) _CSFDB_GetPGeom2d_BSplineCurvemultiplicities() const
void | _CSFDB_SetPGeom2d_BSplineCurvemultiplicities (const Handle(PColStd_HArray1OfInteger)&p)
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const

## Private Attributes

Standard_Boolean | rational
Standard_Boolean | periodic
Standard_Integer | spineDegree
Handle_PColgp_HArray1OfPnt2d | poles
Handle_PColStd_HArray1OfReal | weights
Handle_PColStd_HArray1OfReal | knots
Handle_PColStd_HArray1OfInteger | multiplicities

## Constructor & Destructor Documentation

Standard_EXPORT PGeom2d_BSplineCurve::PGeom2d_BSplineCurve | ( |  | ) |

Standard_EXPORT PGeom2d_BSplineCurve::PGeom2d_BSplineCurve | ( | const Standard_Boolean | aRational,
|  | const Standard_Boolean | aPeriodic,
|  | const Standard_Integer | aSpineDegree,
|  | const Handle(PColgp_HArray1OfPnt2d)& | aPoles,
|  | const Handle(PColStd_HArray1OfReal)& | aWeights,
|  | const Handle(PColStd_HArray1OfReal)& | aKnots,
|  | const Handle(PColStd_HArray1OfInteger)& | aMultiplicities
| ) |

PGeom2d_BSplineCurve::PGeom2d_BSplineCurve | ( | const Storage_stCONSTclCOM & | a | ) | `[inline]`

## Member Function Documentation

Standard_Boolean PGeom2d_BSplineCurve::_CSFDB_GetPGeom2d_BSplineCurveperiodic | ( |  | ) | const`[inline]`

Standard_Boolean PGeom2d_BSplineCurve::_CSFDB_GetPGeom2d_BSplineCurverational | ( |  | ) | const`[inline]`

Standard_Integer PGeom2d_BSplineCurve::_CSFDB_GetPGeom2d_BSplineCurvespineDegree | ( |  | ) | const`[inline]`

void PGeom2d_BSplineCurve::_CSFDB_SetPGeom2d_BSplineCurveknots | ( | const Handle(PColStd_HArray1OfReal)& | p | ) | `[inline]`

void PGeom2d_BSplineCurve::_CSFDB_SetPGeom2d_BSplineCurvemultiplicities | ( | const Handle(PColStd_HArray1OfInteger)& | p | ) | `[inline]`

void PGeom2d_BSplineCurve::_CSFDB_SetPGeom2d_BSplineCurveperiodic | ( | const Standard_Boolean | p | ) | `[inline]`

void PGeom2d_BSplineCurve::_CSFDB_SetPGeom2d_BSplineCurvepoles | ( | const Handle(PColgp_HArray1OfPnt2d)& | p | ) | `[inline]`

void PGeom2d_BSplineCurve::_CSFDB_SetPGeom2d_BSplineCurverational | ( | const Standard_Boolean | p | ) | `[inline]`

void PGeom2d_BSplineCurve::_CSFDB_SetPGeom2d_BSplineCurvespineDegree | ( | const Standard_Integer | p | ) | `[inline]`

void PGeom2d_BSplineCurve::_CSFDB_SetPGeom2d_BSplineCurveweights | ( | const Handle(PColStd_HArray1OfReal)& | p | ) | `[inline]`

Standard_EXPORT const PGeom2d_BSplineCurve::Handle | ( | Standard_Type |  | ) | const

| Reimplemented from PGeom2d_BoundedCurve.

PGeom2d_BSplineCurve::Handle | ( | PColStd_HArray1OfInteger |  | ) | const`[inline]`

PGeom2d_BSplineCurve::Handle | ( | PColStd_HArray1OfReal |  | ) | const`[inline]`

PGeom2d_BSplineCurve::Handle | ( | PColStd_HArray1OfReal |  | ) | const`[inline]`

PGeom2d_BSplineCurve::Handle | ( | PColgp_HArray1OfPnt2d |  | ) | const`[inline]`

Standard_EXPORT Handle_PColStd_HArray1OfReal PGeom2d_BSplineCurve::Knots | ( |  | ) | const

Standard_EXPORT void PGeom2d_BSplineCurve::Knots | ( | const Handle(PColStd_HArray1OfReal)& | aKnots | ) |

Standard_EXPORT Handle_PColStd_HArray1OfInteger PGeom2d_BSplineCurve::Multiplicities | ( |  | ) | const

Standard_EXPORT void PGeom2d_BSplineCurve::Multiplicities | ( | const Handle(PColStd_HArray1OfInteger)& | aMultiplicities | ) |

Standard_EXPORT Standard_Boolean PGeom2d_BSplineCurve::Periodic | ( |  | ) | const

Standard_EXPORT void PGeom2d_BSplineCurve::Periodic | ( | const Standard_Boolean | aPeriodic | ) |

Standard_EXPORT Handle_PColgp_HArray1OfPnt2d PGeom2d_BSplineCurve::Poles | ( |  | ) | const

Standard_EXPORT void PGeom2d_BSplineCurve::Poles | ( | const Handle(PColgp_HArray1OfPnt2d)& | aPoles | ) |

Standard_EXPORT Standard_Boolean PGeom2d_BSplineCurve::Rational | ( |  | ) | const

Standard_EXPORT void PGeom2d_BSplineCurve::Rational | ( | const Standard_Boolean | aRational | ) |

Standard_EXPORT Standard_Integer PGeom2d_BSplineCurve::SpineDegree | ( |  | ) | const

Standard_EXPORT void PGeom2d_BSplineCurve::SpineDegree | ( | const Standard_Integer | aSpineDegree | ) |

Standard_EXPORT Handle_PColStd_HArray1OfReal PGeom2d_BSplineCurve::Weights | ( |  | ) | const

Standard_EXPORT void PGeom2d_BSplineCurve::Weights | ( | const Handle(PColStd_HArray1OfReal)& | aWeights | ) |

## Field Documentation

Handle_PColStd_HArray1OfReal PGeom2d_BSplineCurve::knots`[private]`

Handle_PColStd_HArray1OfInteger PGeom2d_BSplineCurve::multiplicities`[private]`

Standard_Boolean PGeom2d_BSplineCurve::periodic`[private]`

Handle_PColgp_HArray1OfPnt2d PGeom2d_BSplineCurve::poles`[private]`

Standard_Boolean PGeom2d_BSplineCurve::rational`[private]`

Standard_Integer PGeom2d_BSplineCurve::spineDegree`[private]`

Handle_PColStd_HArray1OfReal PGeom2d_BSplineCurve::weights`[private]`

The documentation for this class was generated from the following file:

- PGeom2d_BSplineCurve.hxx