#include <opennurbs_geometry.h>
Public Member Functions | |
ON_BoundingBox | BoundingBox () const |
virtual ON_Brep * | BrepForm (ON_Brep *brep=NULL) const |
virtual void | ClearBoundingBox () |
virtual ON_COMPONENT_INDEX | ComponentIndex () const |
virtual int | Dimension () const =0 |
virtual bool | EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const |
virtual ON_BOOL32 | GetBBox (double *boxmin, double *boxmax, int bGrowBox=false) const =0 |
ON_BOOL32 | GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const |
ON_BOOL32 | GetBoundingBox (ON_3dPoint &bbox_min, ON_3dPoint &bbox_max, int bGrowBox=false) const |
virtual bool | GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const |
virtual ON_BOOL32 | HasBrepForm () const |
virtual bool | IsDeformable () const |
virtual bool | MakeDeformable () |
ON_Geometry () | |
ON_Geometry (const ON_Geometry &) | |
ON_Geometry & | operator= (const ON_Geometry &) |
ON_BOOL32 | Rotate (double sin_angle, double cos_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center) |
ON_BOOL32 | Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center) |
ON_BOOL32 | Scale (double scale_factor) |
virtual ON_BOOL32 | SwapCoordinates (int i, int j) |
virtual ON_BOOL32 | Transform (const ON_Xform &xform) |
ON_BOOL32 | Translate (const ON_3dVector &translation_vector) |
virtual | ~ON_Geometry () |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_Geometry) |
Definition at line 36 of file opennurbs_geometry.h.
Definition at line 21 of file opennurbs_geometry.cpp.
ON_Geometry::ON_Geometry | ( | const ON_Geometry & | src | ) |
Definition at line 24 of file opennurbs_geometry.cpp.
ON_Geometry::~ON_Geometry | ( | ) | [virtual] |
Definition at line 33 of file opennurbs_geometry.cpp.
ON_BoundingBox ON_Geometry::BoundingBox | ( | ) | const |
Definition at line 36 of file opennurbs_geometry.cpp.
ON_Brep * ON_Geometry::BrepForm | ( | ON_Brep * | brep = NULL | ) | const [virtual] |
Reimplemented in ON_Brep, ON_MorphControl, ON_Surface, and ON_Extrusion.
Definition at line 233 of file opennurbs_geometry.cpp.
void ON_Geometry::ClearBoundingBox | ( | ) | [virtual] |
Reimplemented in ON_Brep, ON_MorphControl, ON_BrepFace, ON_SumSurface, and ON_RevSurface.
Definition at line 216 of file opennurbs_geometry.cpp.
ON_COMPONENT_INDEX ON_Geometry::ComponentIndex | ( | ) | const [virtual] |
Reimplemented in ON_MeshFaceRef, ON_MeshEdgeRef, ON_MeshVertexRef, ON_BrepFace, ON_BrepLoop, ON_BrepTrim, ON_BrepEdge, and ON_BrepVertex.
Definition at line 240 of file opennurbs_geometry.cpp.
virtual int ON_Geometry::Dimension | ( | ) | const [pure virtual] |
Implemented in ON_MeshFaceRef, ON_MeshEdgeRef, ON_MeshVertexRef, ON_TextDot, ON_Brep, ON_MorphControl, ON_NurbsCage, ON_Mesh, ON_BrepLoop, ON_Hatch, ON_InstanceRef, ON_Annotation2, ON_NurbsSurface, ON_NurbsCurve, ON_CurveProxy, ON_Annotation, ON_SumSurface, ON_RevSurface, ON_ArcCurve, ON_PolyCurve, ON_Viewport, ON_AnnotationArrow, ON_InstanceDefinition, ON_SurfaceProxy, ON_PolylineCurve, ON_CurveOnSurface, ON_PlaneSurface, ON_Point, ON_PointGrid, ON_LineCurve, ON_Light, ON_PointCloud, ON_Extrusion, and ON_DetailView.
bool ON_Geometry::EvaluatePoint | ( | const class ON_ObjRef & | objref, |
ON_3dPoint & | P | ||
) | const [virtual] |
Reimplemented in ON_Brep, ON_Mesh, ON_Annotation2, ON_PolyCurve, ON_Curve, and ON_Surface.
Definition at line 248 of file opennurbs_geometry.cpp.
virtual ON_BOOL32 ON_Geometry::GetBBox | ( | double * | boxmin, |
double * | boxmax, | ||
int | bGrowBox = false |
||
) | const [pure virtual] |
Implemented in ON_MeshFaceRef, ON_MeshEdgeRef, ON_MeshVertexRef, ON_TextDot, ON_Leader2, ON_TextEntity2, ON_Brep, ON_OrdinateDimension2, ON_MorphControl, ON_AngularDimension2, ON_RadialDimension2, ON_NurbsCage, ON_LinearDimension2, ON_BrepFace, ON_Mesh, ON_BrepLoop, ON_Hatch, ON_InstanceRef, ON_OffsetSurface, ON_NurbsSurface, ON_NurbsCurve, ON_CurveProxy, ON_Annotation, ON_SumSurface, ON_Viewport, ON_RevSurface, ON_ArcCurve, ON_PolyCurve, ON_AnnotationArrow, ON_InstanceDefinition, ON_SurfaceProxy, ON_PolylineCurve, ON_CurveOnSurface, ON_PlaneSurface, ON_Point, ON_PointGrid, ON_LineCurve, ON_Light, ON_PointCloud, ON_Extrusion, and ON_DetailView.
ON_BOOL32 ON_Geometry::GetBoundingBox | ( | ON_BoundingBox & | bbox, |
int | bGrowBox = false |
||
) | const |
Definition at line 45 of file opennurbs_geometry.cpp.
ON_BOOL32 ON_Geometry::GetBoundingBox | ( | ON_3dPoint & | bbox_min, |
ON_3dPoint & | bbox_max, | ||
int | bGrowBox = false |
||
) | const |
Definition at line 54 of file opennurbs_geometry.cpp.
bool ON_Geometry::GetTightBoundingBox | ( | ON_BoundingBox & | tight_bbox, |
int | bGrowBox = false , |
||
const ON_Xform * | xform = 0 |
||
) | const [virtual] |
Reimplemented in ON_Leader2, ON_TextEntity2, ON_OrdinateDimension2, ON_MorphControl, ON_AngularDimension2, ON_RadialDimension2, ON_NurbsCage, ON_LinearDimension2, ON_Mesh, ON_Hatch, ON_ArcCurve, ON_Curve, ON_PolyCurve, ON_PolylineCurve, ON_PointGrid, ON_LineCurve, ON_PointCloud, ON_Extrusion, and ON_DetailView.
Definition at line 99 of file opennurbs_geometry.cpp.
ON_BOOL32 ON_Geometry::HasBrepForm | ( | ) | const [virtual] |
Reimplemented in ON_Brep, ON_MorphControl, and ON_Surface.
Definition at line 227 of file opennurbs_geometry.cpp.
bool ON_Geometry::IsDeformable | ( | ) | const [virtual] |
Reimplemented in ON_TextDot, ON_NurbsCage, ON_Mesh, ON_InstanceRef, ON_NurbsSurface, ON_NurbsCurve, ON_SumSurface, ON_PolyCurve, ON_PolylineCurve, ON_PointGrid, ON_LineCurve, ON_PointCloud, and ON_Point.
Definition at line 206 of file opennurbs_geometry.cpp.
bool ON_Geometry::MakeDeformable | ( | ) | [virtual] |
Reimplemented in ON_TextDot, ON_NurbsCage, ON_Mesh, ON_InstanceRef, ON_NurbsSurface, ON_NurbsCurve, ON_SumSurface, ON_PolyCurve, ON_PolylineCurve, ON_PointGrid, ON_LineCurve, ON_PointCloud, and ON_Point.
Definition at line 211 of file opennurbs_geometry.cpp.
ON_Geometry::ON_OBJECT_DECLARE | ( | ON_Geometry | ) | [private] |
ON_Geometry & ON_Geometry::operator= | ( | const ON_Geometry & | src | ) |
Definition at line 27 of file opennurbs_geometry.cpp.
ON_BOOL32 ON_Geometry::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | rotation_axis, | ||
const ON_3dPoint & | rotation_center | ||
) |
Definition at line 163 of file opennurbs_geometry.cpp.
ON_BOOL32 ON_Geometry::Rotate | ( | double | rotation_angle, |
const ON_3dVector & | rotation_axis, | ||
const ON_3dPoint & | rotation_center | ||
) |
Definition at line 177 of file opennurbs_geometry.cpp.
ON_BOOL32 ON_Geometry::Scale | ( | double | scale_factor | ) |
Definition at line 197 of file opennurbs_geometry.cpp.
ON_BOOL32 ON_Geometry::SwapCoordinates | ( | int | i, |
int | j | ||
) | [virtual] |
Reimplemented in ON_Brep, ON_Mesh, ON_NurbsSurface, ON_NurbsCurve, ON_PolyCurve, ON_PolylineCurve, ON_PointGrid, ON_LineCurve, ON_PointCloud, ON_CurveOnSurface, and ON_Point.
Definition at line 136 of file opennurbs_geometry.cpp.
ON_BOOL32 ON_Geometry::Transform | ( | const ON_Xform & | xform | ) | [virtual] |
Reimplemented in ON_MeshFaceRef, ON_MeshEdgeRef, ON_MeshVertexRef, ON_TextDot, ON_Leader2, ON_TextEntity2, ON_Brep, ON_MorphControl, ON_OrdinateDimension2, ON_AngularDimension2, ON_RadialDimension2, ON_NurbsCage, ON_Mesh, ON_LinearDimension2, ON_BrepLoop, ON_Hatch, ON_InstanceRef, ON_Annotation2, ON_NurbsSurface, ON_NurbsCurve, ON_CurveProxy, ON_Annotation, ON_SumSurface, ON_ArcCurve, ON_Viewport, ON_PolyCurve, ON_RevSurface, ON_PolylineCurve, ON_AnnotationArrow, ON_SurfaceProxy, ON_InstanceDefinition, ON_PointGrid, ON_LineCurve, ON_CurveOnSurface, ON_PlaneSurface, ON_PointCloud, ON_Point, ON_Light, ON_Extrusion, and ON_DetailView.
Definition at line 221 of file opennurbs_geometry.cpp.
ON_BOOL32 ON_Geometry::Translate | ( | const ON_3dVector & | translation_vector | ) |
Definition at line 188 of file opennurbs_geometry.cpp.