CFx SDK Documentation  2020SP3
FxCurvePE.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "FxPragmaPush.h"
20 
21 #include "DDKERNEL.h"
22 
23 #include <DbCurvePE.h>
24 
31 {
33 
34 public:
45  OdDbCurve* pCurveToExtend,
46  OdDbCurve* pBoundaryCurve,
47  OdGePoint3dArray& results,
48  bool extendStart = true,
49  void* reserved = 0 ) = 0;
50 
61  OdDbCurve* pCurve1,
62  OdDbCurve* pCurve2,
63  OdGePoint3dArray& results,
64  bool fromStart = true,
65  void* reserved = 0 ) = 0;
66 
76  OdDbCurve* pCurve,
77  OdDbCurvePtr& pGeneralCurve,
78  bool fromStart,
79  void* reserved = 0 ) = 0;
80 
87  virtual OdResult getArea(
88  const OdDbCurve* pCurve,
89  double& area) const = 0;
90 
91 public:
100  static bool _getExtensionPoints(
101  OdDbCurvePtr pCurveToExtend,
102  OdDbCurvePtr pBoundaryCurve,
103  OdGePoint3dArray& results,
104  bool extendStart = true);
105 
114  static bool _getFilletPoints(
115  OdDbCurvePtr pCurve1,
116  OdDbCurvePtr pCurve2,
117  OdGePoint3dArray& results,
118  bool fromStart = true );
119 
127  static bool _getGeneralCurve(
128  OdDbCurvePtr pCurve,
129  OdDbCurvePtr& pGeneralCurve,
130  bool fromStart );
131 };
132 
134 
135 #include "FxPragmaPop.h"
OdResult
OdResult
Definition: OdResult.h:29
FxPragmaPop.h
CFxCurvePE::getArea
virtual OdResult getArea(const OdDbCurve *pCurve, double &area) const =0
CFxCurvePE
Definition: FxCurvePE.h:31
CFxCurvePE::_getExtensionPoints
static bool _getExtensionPoints(OdDbCurvePtr pCurveToExtend, OdDbCurvePtr pBoundaryCurve, OdGePoint3dArray &results, bool extendStart=true)
CFxCurvePE::_getFilletPoints
static bool _getFilletPoints(OdDbCurvePtr pCurve1, OdDbCurvePtr pCurve2, OdGePoint3dArray &results, bool fromStart=true)
OdDbCurvePE
Definition: DbCurvePE.h:39
DDKERNEL.h
OdArray< OdGePoint3d, OdMemoryAllocator< OdGePoint3d > >
OdSmartPtr
Definition: SmartPtr.h:58
CFxCurvePEPtr
OdSmartPtr< CFxCurvePE > CFxCurvePEPtr
Definition: FxCurvePE.h:133
DDKERNEL_API
#define DDKERNEL_API
Definition: DDKERNEL.h:32
CFxCurvePE::getGeneralCurve
virtual OdResult getGeneralCurve(OdDbCurve *pCurve, OdDbCurvePtr &pGeneralCurve, bool fromStart, void *reserved=0)=0
CFxCurvePE::getFilletPoints
virtual OdResult getFilletPoints(OdDbCurve *pCurve1, OdDbCurve *pCurve2, OdGePoint3dArray &results, bool fromStart=true, void *reserved=0)=0
OdDbCurve
Definition: DbCurve.h:53
CFxCurvePE::getExtensionPoints
virtual OdResult getExtensionPoints(OdDbCurve *pCurveToExtend, OdDbCurve *pBoundaryCurve, OdGePoint3dArray &results, bool extendStart=true, void *reserved=0)=0
OdDbCurvePE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbCurvePE)
FxPragmaPush.h
DbCurvePE.h
CFxCurvePE::_getGeneralCurve
static bool _getGeneralCurve(OdDbCurvePtr pCurve, OdDbCurvePtr &pGeneralCurve, bool fromStart)