Share

AcGeCurveCurveInt2d

Class Hierarchy

AcGeEntity2d
    AcGeCurveCurveInt2d

C++

class AcGeCurveCurveInt2d : public AcGeEntity2d;

File

gecint2d.h

Description

Represents the intersection set of two curves. There are special case intersectWith() functions in the AcGeLinearEnt2d, AcGeCircArc2d, and AcGeEllipArc2d classes to find the points of intersection between two lines, a line and an arc, an arc and an arc, or a line and an ellipse. However, there is no general intersectWith() function to find the points of intersection between two general curves. This can only be done by constructing an object of this class.

Objects of this class are constructed by specifying the two curves that are to be intersected. It is also possible to specify a specific interval of each curve that is to be intersected. Pointers to these curves are then stored as data members of this class. This class contains query methods that return the intersection points and intervals of overlap between the two curves. There are also methods that return information about each intersection point, such as whether the intersection is a tangential or transversal intersection. Points of self-intersection of a curve can be found by passing the same curve in both parameters of the constructor.

Links

AcGeCurveCurveInt2d Constructor, AcGeCurveCurveInt2d Methods, AcGeCurveCurveInt2d Operators

See Also

AcGeTol

Was this information helpful?