CFx SDK Documentation  2022 SP0
GeLinearEnt2d.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef OD_GE_LINEAR_ENT_2D_H
25 #define OD_GE_LINEAR_ENT_2D_H
27 class OdGeCircArc2d;
28 
29 #include "Ge/GeCurve2d.h"
30 #include "OdPlatformSettings.h"
31 #include <memory.h> // for memcpy
32 
33 #include "TD_PackPush.h"
34 
43 {
44 public:
45 
46 
56  const OdGeLinearEnt2d& line,
57  OdGePoint2d& intPnt,
58  const OdGeTol& tol = OdGeContext::gTol) const;
59 
68  bool overlap(
69  const OdGeLinearEnt2d& line,
70  OdGeLinearEnt2d*& overlap,
71  const OdGeTol& tol = OdGeContext::gTol) const;
72 
81  const OdGeLinearEnt2d& line,
82  const OdGeTol& tol = OdGeContext::gTol) const;
83 
92  const OdGeLinearEnt2d& line,
93  const OdGeTol& tol = OdGeContext::gTol) const;
94 
103  const OdGeLinearEnt2d& line,
104  const OdGeTol& tol = OdGeContext::gTol) const;
105 
117  const OdGePoint2d& point,
118  OdGeLine2d& perpLine) const;
119 
124 
130 
139  void getLine(
140  OdGeLine2d& line) const;
141 
143 
145  // Overrides :
146 
148  // TD Special overrides :
149 
150 protected:
155 };
156 
157 #include "TD_PackPop.h"
158 
159 #endif
160 
tol
Definition: DimVarDefs.h:2287
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeCurve2d & operator=(const OdGeCurve2d &curve)
void getLine(OdGeLine2d &line) const
bool isPerpendicularTo(const OdGeLinearEnt2d &line, const OdGeTol &tol=OdGeContext::gTol) const
bool isColinearTo(const OdGeLinearEnt2d &line, const OdGeTol &tol=OdGeContext::gTol) const
bool intersectWith(const OdGeLinearEnt2d &line, OdGePoint2d &intPnt, const OdGeTol &tol=OdGeContext::gTol) const
void getPerpLine(const OdGePoint2d &point, OdGeLine2d &perpLine) const
OdGePoint2d pointOnLine() const
bool isParallelTo(const OdGeLinearEnt2d &line, const OdGeTol &tol=OdGeContext::gTol) const
OdGeLinearEnt2d(const OdGeLinearEnt2d &source)
bool overlap(const OdGeLinearEnt2d &line, OdGeLinearEnt2d *&overlap, const OdGeTol &tol=OdGeContext::gTol) const
OdGeVector2d direction() const
Definition: GeTol.h:49
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60