All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

SPAkern Class curve_surf_int

SPAbase.ACIS_OBJECT
  |
  +---curve_surf_int
 

Usage: you must use this class as is. You should never derive it.


public class curve_surf_int

Represents the intersection of a curve with a surface and returns the intersections as a list.

Role: This class represents the details of a curve-surface intersection. This class returns all intersections inside the bounding box in a list. This list can be walked using the "next" data member of the class.

If an end point lies on the surface, the intersection is first coerced to that point and then checked against the bounding box. In this way, a vertex is treated the same for every edge running through it.

See also:
SPApar_pos


Constructor and Destructor Index


o curve_surf_int(SPAposition const&,curve_surf_int*,double,double const,curve_surf_rel,curve_surf_rel)
C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.
o curve_surf_int(curve_surf_int const&)
C++ copy constructor requests memory for this object and populates it with the data from the object supplied as an argument.
o curve_surf_int(curve_surf_int*,SPAposition const&,double,curve_surf_rel,curve_surf_rel)
o ~curve_surf_int()
C++ destructor, deleting a curve_surf_int.

Method Index


o debug(FILE*)
Writes debug information about curve_surf_int to the printer or to the specified file.

Data Member Index


o data1
General purpose pointer used to store the element on a meshsurf from which this intersection originated.
o data2
General purpose pointer used to store the element on a compcurv from which this intersection originated.
o fuzzy
This is TRUE if the intersection is not tightly defined (a tangency or small-angle crossing).
o high_param
The high end of the parameter range if it is fuzzy; the same as param if it is not fuzzy.
o high_rel
Relationship between curve and surface in the positive direction.
o int_point
The point of intersection.
o low_param
The low end of the parameter range if it is fuzzy; the same as param if it is not fuzzy.
o low_rel
Returns relationship between curve and surface.
o next
The pointer to the list.
o param
The parameters of the intersection point on the curve.
o surf_param
The parameters of the intersection point on the surface.
o tolerance
Supports tolerant modeling.
o userdata
Pointer to an arbitrary object to store user data.

Constructor and Destructor


o curve_surf_int
public curve_surf_int(SPAposition const& pt,
curve_surf_int* next_int,
double para,
double const tol= SPAresabs,
curve_surf_rel before_para= curve_unknown,
curve_surf_rel after_para= curve_unknown )
C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.

Parameters:
pt
intersection point.
next_int
next intersection.
para
param at intersection.
tol
intersection tolerance
before_para
relationship before param.
after_para
relationship after param.
o curve_surf_int
public curve_surf_int(curve_surf_int const& intsec)
C++ copy constructor requests memory for this object and populates it with the data from the object supplied as an argument.

Parameters:
intsec
curve-surf intersection.
o curve_surf_int
public curve_surf_int(curve_surf_int* next_int,
SPAposition const& pt,
double para,
curve_surf_rel before_para= curve_unknown,
curve_surf_rel after_para= curve_unknown )
Deprecated:
Obsolete: use curve_surf_int with tolerance instead. C++ initialize constructor requests memory for this object and populates it with the data supplied as arguments.

o ~curve_surf_int
public ~curve_surf_int()
C++ destructor, deleting a curve_surf_int.

Methods


o debug
public void debug(FILE* fname= debug_file_ptr )const
Writes debug information about curve_surf_int to the printer or to the specified file.

Parameters:
fname
file name

Data Members


o data1
  public const void *data1
General purpose pointer used to store the element on a meshsurf from which this intersection originated.
o data2
  public const void *data2
General purpose pointer used to store the element on a compcurv from which this intersection originated.
o fuzzy
  public logical fuzzy
This is TRUE if the intersection is not tightly defined (a tangency or small-angle crossing).
o high_param
  public SPAparameter high_param
The high end of the parameter range if it is fuzzy; the same as param if it is not fuzzy.
o high_rel
  public curve_surf_rel high_rel
Relationship between curve and surface in the positive direction.

Role: The relationship between the curve and the surface in the neighborhood of the intersection, in the positive parameter direction.

See also:
curve_surf_rel
o int_point
  public SPAposition int_point
The point of intersection.
o low_param
  public SPAparameter low_param
The low end of the parameter range if it is fuzzy; the same as param if it is not fuzzy.
o low_rel
  public curve_surf_rel low_rel
Returns relationship between curve and surface.

Role: The relationship between the curve and the surface in the neighborhood of the intersection, in the negative parameter direction.

See also:
curve_surf_rel
o next
  public curve_surf_int* next
The pointer to the list.
o param
  public SPAparameter param
The parameters of the intersection point on the curve.
o surf_param
  public SPApar_pos surf_param
The parameters of the intersection point on the surface.
o tolerance
  public double tolerance
Supports tolerant modeling.

Role: The value is used to record the tolerance value of the intersection. It is defaulted to SPAresabs.
o userdata
  public curve_surf_userdata *userdata
Pointer to an arbitrary object to store user data.

Role: If non-NULL, it is deleted when this object is deleted. It is the responsibility of the user's class derived from this to ensure that the destructor does what is necessary.

This object is included in the file: cusfint.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.