xc
Public Member Functions | Protected Member Functions | Friends | List of all members
GTSSurfaceIntersection Class Reference

Public Member Functions

 GTSSurfaceIntersection (GtsSurfaceInter *f=nullptr)
 
 GTSSurfaceIntersection (GtsSurfaceInterClass *klass, GTSSurface &s1, GTSSurface &s2)
 
 GTSSurfaceIntersection (const GTSSurfaceIntersection &)
 
GTSSurfaceIntersectionoperator= (const GTSSurfaceIntersection &)
 
void Write (FILE *fp)
 
bool Check (bool &closed) const
 
void InterBoolean (GTSSurface &surface, GtsBooleanOperation op) const
 Append to the surface argument the part defined by THIS and the op. More...
 

Protected Member Functions

GtsSurfaceInter const * get_const_ptr (void) const
 
GtsSurfaceInter * get_ptr (void)
 
GTSSurface bool_op (const std::string &operation, GTSSurface &s2) const
 

Friends

GTSSurface BoolOp (const GTSSurfaceIntersection &si, GTSSurface &s1, GTSSurface &s2, const std::string &str_op, bool check_self_intersection, bool verbose)
 

Member Function Documentation

◆ InterBoolean()

void GTSSurfaceIntersection::InterBoolean ( GTSSurface surface,
GtsBooleanOperation  op 
) const

Append to the surface argument the part defined by THIS and the op.

Parameters
opcan be one of the following:
  • GTS_1_OUT_2: identifies the part of the first surface which lies outside the second surface.
  • GTS_1_IN_2: identifies the part of the first surface which lies inside the second surface.
  • GTS_2_OUT_1: identifies the part of the second surface which lies outside the first surface.
  • GTS_2_IN_1: identifies the part of the second surface which lies inside the first surface.

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