Home

curve_bounds Class Reference
[Intersector Functionality]

Specifies the curve bounds of interest. More...

#include <cusfint.hxx>

Inheritance diagram for curve_bounds:

Inheritance graph
[legend]
Collaboration diagram for curve_bounds:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 curve_bounds (curve const &cur, SPAposition const &s_posi=*(const class SPAposition *) NULL_REF, SPAposition const &e_posi=*(const class SPAposition *) NULL_REF, double stol=0.0, double etol=0.0)
 C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.
 curve_bounds (SPAposition const &s_posi, double s_para, SPAposition const &e_posi, double e_para, double stol=0.0, double etol=0.0)
 C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.
 curve_bounds (point_surf_rel s_rel, SPAposition const &s_posi, double s_param, point_surf_rel e_rel, SPAposition const &e_posi, double e_param, double stol=0.0, double etol=0.0)
 C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.
 curve_bounds (logical s_rel, SPAposition const &s_posi, double s_param, logical e_rel, SPAposition const &e_posi, double e_param, double stol=0.0, double etol=0.0)
 C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.
void debug (FILE *fname=debug_file_ptr) const
 Writes debug information about curve_bounds to the printer or to the specified file.

Public Attributes

SPAparameter end_param
 The end parameter on the curve.
SPAposition end_point
 The end position, which can be NULL.
point_surf_rel end_rel
 The end relation.
SPAparameter start_param
 The start parameter on the curve.
SPAposition start_point
 The start position, which can be NULL.
point_surf_rel start_rel
 The start relation.

Private Attributes

double end_tol
 The tolerance of the end vertex.
double start_tol
 The tolerance of the start vertex.


Detailed Description

Specifies the curve bounds of interest.


Role: This class describes the start and end of a curve, with particular reference to a curve-surface intersection.

See also:
SPAparameter, SPAposition

Constructor & Destructor Documentation

curve_bounds::curve_bounds ( logical  s_rel,
SPAposition const &  s_posi,
double  s_param,
logical  e_rel,
SPAposition const &  e_posi,
double  e_param,
double  stol = 0.0,
double  etol = 0.0 
)

C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.



Role: Creates curve bounds given the start and end relations, positions, and parameters. If the start or end relation is TRUE, it means that the start or end point, respectively, is on the surface. If the start position or end position is NULL, that side of the cure is unbounded for the intersection.

Parameters:
s_rel start relation.
s_posi start position.
s_param start param on curve.
e_rel end relation.
e_posi end position.
e_param end param on curve.

curve_bounds::curve_bounds ( point_surf_rel  s_rel,
SPAposition const &  s_posi,
double  s_param,
point_surf_rel  e_rel,
SPAposition const &  e_posi,
double  e_param,
double  stol = 0.0,
double  etol = 0.0 
)

C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.



Role: Creates curve bounds given the start and end relations, positions, and parameters.

Parameters:
s_rel start relation.
s_posi start position.
s_param start param on curve.
e_rel end relation.
e_posi end position.
e_param end param on curve.

curve_bounds::curve_bounds ( SPAposition const &  s_posi,
double  s_para,
SPAposition const &  e_posi,
double  e_para,
double  stol = 0.0,
double  etol = 0.0 
)

C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.



Role: Creates curve bounds given the start and end positions and parameters. If the start position or end position is NULL, that side of the cure is unbounded for the intersection.

Parameters:
s_posi start position.
s_para start paramter.
e_posi end position.
e_para end paramter.

curve_bounds::curve_bounds ( curve const &  cur,
SPAposition const &  s_posi = *(const class SPAposition *) NULL_REF,
SPAposition const &  e_posi = *(const class SPAposition *) NULL_REF,
double  stol = 0.0,
double  etol = 0.0 
)

C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.



Role: Creates curve bounds given the curve and the start and end positions on the curve.

Parameters:
cur curve.
s_posi start position.
e_posi start position.


Member Function Documentation

void curve_bounds::debug ( FILE *  fname = debug_file_ptr  )  const

Writes debug information about curve_bounds to the printer or to the specified file.



Parameters:
fname file name.


Member Data Documentation

The end parameter on the curve.

The end position, which can be NULL.

The end relation.



Role: TRUE means that the end point is on the surface; FALSE means that the end point is off the surface.

See also:
point_surf_rel.

double curve_bounds::end_tol [private]

The tolerance of the end vertex.

The start parameter on the curve.

The start position, which can be NULL.

The start relation.



Role: TRUE means that the start point is on the surface; FALSE means that the start point is off the surface.

See also:
point_surf_rel.

double curve_bounds::start_tol [private]

The tolerance of the start vertex.