CFx SDK Documentation  2022 SP0
FxCurvePE.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2021 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"
#define DDKERNEL_API
Definition: DDKERNEL.h:32
OdSmartPtr< CFxCurvePE > CFxCurvePEPtr
Definition: FxCurvePE.h:133
OdResult
Definition: OdResult.h:29
virtual OdResult getExtensionPoints(OdDbCurve *pCurveToExtend, OdDbCurve *pBoundaryCurve, OdGePoint3dArray &results, bool extendStart=true, void *reserved=0)=0
static bool _getGeneralCurve(OdDbCurvePtr pCurve, OdDbCurvePtr &pGeneralCurve, bool fromStart)
static bool _getExtensionPoints(OdDbCurvePtr pCurveToExtend, OdDbCurvePtr pBoundaryCurve, OdGePoint3dArray &results, bool extendStart=true)
virtual OdResult getArea(const OdDbCurve *pCurve, double &area) const =0
virtual OdResult getFilletPoints(OdDbCurve *pCurve1, OdDbCurve *pCurve2, OdGePoint3dArray &results, bool fromStart=true, void *reserved=0)=0
virtual OdResult getGeneralCurve(OdDbCurve *pCurve, OdDbCurvePtr &pGeneralCurve, bool fromStart, void *reserved=0)=0
static bool _getFilletPoints(OdDbCurvePtr pCurve1, OdDbCurvePtr pCurve2, OdGePoint3dArray &results, bool fromStart=true)
ODRX_DECLARE_MEMBERS(OdDbCurvePE)