summaryrefslogtreecommitdiff
path: root/inc/IntAna2d_IntPoint.lxx
blob: e661236bd8742e5d2ae6bc66cb039e5471af08fc (plain)
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
// File:	IntPoint.lxx
// Created:	Wed Oct 7  9:43:20 1992
// Author:	Laurent BUCHARD
//		<lbr@topsn2>
//-Copyright:	 Matra Datavision 1992

#include <Standard_DomainError.hxx>


inline const gp_Pnt2d& IntAna2d_IntPoint::Value () const {
  return myp;
}

inline Standard_Real IntAna2d_IntPoint::ParamOnFirst () const {
  return myu1;
}

inline Standard_Real IntAna2d_IntPoint::ParamOnSecond () const {

  if (myimplicit) {
    Standard_DomainError::Raise();
  }
  return myu2;
}

inline Standard_Boolean IntAna2d_IntPoint::SecondIsImplicit() const {
  return(myimplicit);
}