static bool isDimension(RS2::EntityType type);
static bool isTrimmable(RS_Entity * e);
static bool isTrimmable(RS_Entity * e1, RS_Entity * e2);
-
Vector getNearestEndpoint(const Vector & point, double * dist = NULL) const;
Vector getNearestPointOnEntity(const Vector & point, bool onEntity = true,
double * dist = NULL, RS_Entity ** entity = NULL) const;
RS_Entity * getNearestEntity(const Vector & point, double * dist = NULL,
RS2::ResolveLevel level = RS2::ResolveAll) const;
-
static VectorSolutions getIntersection(RS_Entity * e1, RS_Entity * e2, bool onEntities = false);
static VectorSolutions getIntersectionLineLine(RS_Line * e1, RS_Line * e2);
static VectorSolutions getIntersectionLineArc(RS_Line * line, RS_Arc * arc);
static VectorSolutions getIntersectionArcArc(RS_Arc * e1, RS_Arc * e2);
static VectorSolutions getIntersectionLineEllipse(RS_Line * line, RS_Ellipse * ellipse);
-
static bool isPointInsideContour(const Vector & point, RS_EntityContainer * contour,
bool * onContour = NULL);