CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbCurvePE.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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_DB_CURVE_PE_
25#define _OD_DB_CURVE_PE_
26
27
28#include "DbCurve.h"
29
37{
38public:
40
52 const OdGePlane& projPlane,
53 OdDbCurvePtr* pProjCurve) const = 0;
54
66 virtual OdResult getProjectedCurve(const OdDbCurve* pCurve,
67 const OdGePlane& projPlane,
68 const OdGeVector3d& projDirection,
69 OdDbCurvePtr* pProjCurve) const = 0;
70
81 virtual OdResult getOffsetCurves(const OdDbCurve* pCurve,
82 double offsetDistance,
83 OdRxObjectPtrArray& offsetCurves) const = 0;
84
98 const OdGeVector3d& normal,
99 double offsetDistance,
100 OdRxObjectPtrArray& offsetCurves) const = 0;
101
112 virtual OdResult getSplitCurves (const OdDbCurve* pCurve,
113 const OdGeDoubleArray& params,
114 OdRxObjectPtrArray& curveSegments) const = 0;
115
126 virtual OdResult getSplitCurves (const OdDbCurve* pCurve,
127 const OdGePoint3dArray& points,
128 OdRxObjectPtrArray& curveSegments) const = 0;
129
139 virtual OdResult extend(OdDbCurve* pCurve,
140 double param) = 0;
141
152 virtual OdResult extend(OdDbCurve* pCurve, bool extendStart,
153 const OdGePoint3d& toPoint) = 0;
154
155
165 virtual OdResult getSpline (const OdDbCurve* pCurve,
166 OdDbSplinePtr* spline) const = 0;
167
168
180 virtual OdResult getClosestPointTo(const OdDbCurve* pCurve,
181 const OdGePoint3d& givenPoint,
182 OdGePoint3d& pointOnCurve,
183 bool extend = false) const = 0;
184
203 virtual OdResult getClosestPointTo(const OdDbCurve* pCurve,
204 const OdGePoint3d& givenPoint,
205 const OdGeVector3d& normal,
206 OdGePoint3d& pointOnCurve,
207 bool extend = false) const = 0;
208};
213
214#endif //_OD_DB_CURVE_PE_
OdSmartPtr< OdDbCurvePE > OdDbCurvePEPtr
Definition: DbCurvePE.h:212
#define DBENT_EXPORT
Definition: DbExport.h:67
OdResult
Definition: OdResult.h:29
virtual OdResult getOffsetCurvesGivenPlaneNormal(const OdDbCurve *pCurve, const OdGeVector3d &normal, double offsetDistance, OdRxObjectPtrArray &offsetCurves) const =0
virtual OdResult getProjectedCurve(const OdDbCurve *pCurve, const OdGePlane &projPlane, const OdGeVector3d &projDirection, OdDbCurvePtr *pProjCurve) const =0
virtual OdResult getClosestPointTo(const OdDbCurve *pCurve, const OdGePoint3d &givenPoint, OdGePoint3d &pointOnCurve, bool extend=false) const =0
ODRX_DECLARE_MEMBERS(OdDbCurvePE)
virtual OdResult getSpline(const OdDbCurve *pCurve, OdDbSplinePtr *spline) const =0
virtual OdResult getOrthoProjectedCurve(const OdDbCurve *pCurve, const OdGePlane &projPlane, OdDbCurvePtr *pProjCurve) const =0
virtual OdResult extend(OdDbCurve *pCurve, double param)=0
virtual OdResult getSplitCurves(const OdDbCurve *pCurve, const OdGePoint3dArray &points, OdRxObjectPtrArray &curveSegments) const =0
virtual OdResult getSplitCurves(const OdDbCurve *pCurve, const OdGeDoubleArray &params, OdRxObjectPtrArray &curveSegments) const =0
virtual OdResult getClosestPointTo(const OdDbCurve *pCurve, const OdGePoint3d &givenPoint, const OdGeVector3d &normal, OdGePoint3d &pointOnCurve, bool extend=false) const =0
virtual OdResult extend(OdDbCurve *pCurve, bool extendStart, const OdGePoint3d &toPoint)=0
virtual OdResult getOffsetCurves(const OdDbCurve *pCurve, double offsetDistance, OdRxObjectPtrArray &offsetCurves) const =0
GLenum GLint * params
Definition: gles2_ext.h:184