CFx SDK Documentation
2023 SP0
SDK
CFx
dd_inc
Ge
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
42
class
GE_TOOLKIT_EXPORT
OdGeLinearEnt2d
:
public
OdGeCurve2d
43
{
44
public
:
45
46
55
bool
intersectWith
(
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
80
bool
isParallelTo
(
81
const
OdGeLinearEnt2d
& line,
82
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
83
91
bool
isPerpendicularTo
(
92
const
OdGeLinearEnt2d
& line,
93
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
94
102
bool
isColinearTo
(
103
const
OdGeLinearEnt2d
& line,
104
const
OdGeTol
&
tol
=
OdGeContext::gTol
)
const
;
105
116
void
getPerpLine
(
117
const
OdGePoint2d
& point,
118
OdGeLine2d
& perpLine)
const
;
119
123
OdGePoint2d
pointOnLine
()
const
;
124
129
OdGeVector2d
direction
()
const
;
130
139
void
getLine
(
140
OdGeLine2d
& line)
const
;
141
142
OdGeLinearEnt2d
&
operator =
(
const
OdGeLinearEnt2d
& line);
143
145
// Overrides :
146
148
// TD Special overrides :
149
150
protected
:
153
OdGeLinearEnt2d
();
154
OdGeLinearEnt2d
(
const
OdGeLinearEnt2d
&
source
);
155
};
156
157
#include "
TD_PackPop.h
"
158
159
#endif
160
tol
tol
Definition:
DimVarDefs.h:2287
GeCurve2d.h
GE_TOOLKIT_EXPORT
#define GE_TOOLKIT_EXPORT
Definition:
GeExport.h:49
OdPlatformSettings.h
TD_PackPop.h
TD_PackPush.h
OdGeCircArc2d
Definition:
GeCircArc2d.h:47
OdGeCurve2d
Definition:
GeCurve2d.h:54
OdGeCurve2d::operator=
OdGeCurve2d & operator=(const OdGeCurve2d &curve)
OdGeLine2d
Definition:
GeLine2d.h:43
OdGeLinearEnt2d
Definition:
GeLinearEnt2d.h:43
OdGeLinearEnt2d::getLine
void getLine(OdGeLine2d &line) const
OdGeLinearEnt2d::isPerpendicularTo
bool isPerpendicularTo(const OdGeLinearEnt2d &line, const OdGeTol &tol=OdGeContext::gTol) const
OdGeLinearEnt2d::isColinearTo
bool isColinearTo(const OdGeLinearEnt2d &line, const OdGeTol &tol=OdGeContext::gTol) const
OdGeLinearEnt2d::intersectWith
bool intersectWith(const OdGeLinearEnt2d &line, OdGePoint2d &intPnt, const OdGeTol &tol=OdGeContext::gTol) const
OdGeLinearEnt2d::getPerpLine
void getPerpLine(const OdGePoint2d &point, OdGeLine2d &perpLine) const
OdGeLinearEnt2d::pointOnLine
OdGePoint2d pointOnLine() const
OdGeLinearEnt2d::OdGeLinearEnt2d
OdGeLinearEnt2d()
OdGeLinearEnt2d::isParallelTo
bool isParallelTo(const OdGeLinearEnt2d &line, const OdGeTol &tol=OdGeContext::gTol) const
OdGeLinearEnt2d::OdGeLinearEnt2d
OdGeLinearEnt2d(const OdGeLinearEnt2d &source)
OdGeLinearEnt2d::overlap
bool overlap(const OdGeLinearEnt2d &line, OdGeLinearEnt2d *&overlap, const OdGeTol &tol=OdGeContext::gTol) const
OdGeLinearEnt2d::direction
OdGeVector2d direction() const
OdGePoint2d
Definition:
GePoint2d.h:60
OdGeTol
Definition:
GeTol.h:49
OdGeVector2d
Definition:
GeVector2d.h:51
source
GLsizei GLsizei GLchar * source
Definition:
gles2_ext.h:282
OdGeContext::gTol
static GE_STATIC_EXPORT OdGeTol gTol
Definition:
GeGbl.h:60
Generated on Thu Feb 24 2022 15:09:32