CFx SDK Documentation  2020SP3
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 
OdGeLinearEnt2d::isParallelTo
bool isParallelTo(const OdGeLinearEnt2d &line, const OdGeTol &tol=OdGeContext::gTol) const
tol
tol
Definition: DimVarDefs.h:2287
OdGeLinearEnt2d::isPerpendicularTo
bool isPerpendicularTo(const OdGeLinearEnt2d &line, const OdGeTol &tol=OdGeContext::gTol) const
OdGeCurve2d
Definition: GeCurve2d.h:53
source
GLsizei GLsizei GLchar * source
Definition: gles2_ext.h:282
TD_PackPop.h
OdGeLinearEnt2d
Definition: GeLinearEnt2d.h:43
OdGeLinearEnt2d::pointOnLine
OdGePoint2d pointOnLine() const
OdGeLinearEnt2d::overlap
bool overlap(const OdGeLinearEnt2d &line, OdGeLinearEnt2d *&overlap, const OdGeTol &tol=OdGeContext::gTol) const
OdGeLinearEnt2d::getPerpLine
void getPerpLine(const OdGePoint2d &point, OdGeLine2d &perpLine) const
OdGeLine2d
Definition: GeLine2d.h:43
OdPlatformSettings.h
OdGeVector2d
Definition: GeVector2d.h:51
OdGeLinearEnt2d::isColinearTo
bool isColinearTo(const OdGeLinearEnt2d &line, const OdGeTol &tol=OdGeContext::gTol) const
TD_PackPush.h
GeCurve2d.h
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition: GeGbl.h:60
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition: GeExport.h:49
OdGeCurve2d::operator=
OdGeCurve2d & operator=(const OdGeCurve2d &curve)
OdGeTol
Definition: GeTol.h:49
OdGeLinearEnt2d::getLine
void getLine(OdGeLine2d &line) const
OdGeLinearEnt2d::intersectWith
bool intersectWith(const OdGeLinearEnt2d &line, OdGePoint2d &intPnt, const OdGeTol &tol=OdGeContext::gTol) const
OdGeLinearEnt2d::OdGeLinearEnt2d
OdGeLinearEnt2d(const OdGeLinearEnt2d &source)
OdGeLinearEnt2d::OdGeLinearEnt2d
OdGeLinearEnt2d()
OdGeLinearEnt2d::direction
OdGeVector2d direction() const
OdGePoint2d
Definition: GePoint2d.h:60