QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_Geometry Class Referenceabstract

#include <opennurbs_geometry.h>

Inheritance diagram for ON_Geometry:
ON_Object ON_Annotation ON_Annotation2 ON_AnnotationArrow ON_Brep ON_BrepLoop ON_Curve ON_DetailView ON_Hatch ON_InstanceDefinition ON_InstanceRef ON_Light ON_Mesh ON_MeshEdgeRef ON_MeshFaceRef ON_MeshVertexRef ON_MorphControl ON_NurbsCage ON_Point ON_PointCloud ON_PointGrid ON_Surface ON_TextDot ON_Viewport

Public Member Functions

ON_BoundingBox BoundingBox () const
 
virtual ON_BrepBrepForm (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_3dPoint &bbox_min, ON_3dPoint &bbox_max, int bGrowBox=false) const
 
ON_BOOL32 GetBoundingBox (ON_BoundingBox &bbox, 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 IsMorphable () const
 
virtual bool MakeDeformable ()
 
virtual bool Morph (const ON_SpaceMorph &morph)
 
 ON_Geometry ()
 
 ON_Geometry (const ON_Geometry &)
 
ON_Geometryoperator= (const ON_Geometry &)
 
ON_BOOL32 Rotate (double rotation_angle, const ON_3dVector &rotation_axis, const ON_3dPoint &rotation_center)
 
ON_BOOL32 Rotate (double sin_angle, double cos_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 ()
 
- Public Member Functions inherited from ON_Object
ON_BOOL32 AttachUserData (ON_UserData *pUserData)
 
bool CopyFrom (const ON_Object *src)
 
void CopyUserData (const ON_Object &source_object)
 
virtual ON__UINT32 DataCRC (ON__UINT32 current_remainder) const
 
virtual void DestroyRuntimeCache (bool bDelete=true)
 
ON_BOOL32 DetachUserData (ON_UserData *pUserData)
 
virtual void Dump (ON_TextLog &) const
 
ON_UserDataFirstUserData () const
 
ON_UserDataGetUserData (const ON_UUID &userdata_uuid) const
 
bool GetUserString (const wchar_t *key, ON_wString &string_value) const
 
int GetUserStringKeys (ON_ClassArray< ON_wString > &user_string_keys) const
 
int GetUserStrings (ON_ClassArray< ON_UserString > &user_strings) const
 
ON_BOOL32 IsKindOf (const ON_ClassId *pClassId) const
 
virtual ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const =0
 
virtual void MemoryRelocate ()
 
virtual ON_UUID ModelObjectId () const
 
void MoveUserData (ON_Object &source_object)
 
virtual ON::object_type ObjectType () const
 
 ON_Object ()
 
 ON_Object (const ON_Object &)
 
ON_Objectoperator= (const ON_Object &)
 
void PurgeUserData ()
 
virtual ON_BOOL32 Read (ON_BinaryArchive &binary_archive)
 
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
 
virtual unsigned int SizeOf () const
 
void TransformUserData (const ON_Xform &xform)
 
virtual ON_BOOL32 Write (ON_BinaryArchive &binary_archive) const
 
virtual ~ON_Object ()
 

Private Member Functions

 ON_OBJECT_DECLARE (ON_Geometry)
 

Additional Inherited Members

- Public Attributes inherited from ON_Object
ON_MEMORY_POOLm_mempool
 

Constructor & Destructor Documentation

◆ ON_Geometry() [1/2]

ON_Geometry::ON_Geometry ( )

◆ ON_Geometry() [2/2]

ON_Geometry::ON_Geometry ( const ON_Geometry & src)

◆ ~ON_Geometry()

ON_Geometry::~ON_Geometry ( )
virtual

Member Function Documentation

◆ BoundingBox()

ON_BoundingBox ON_Geometry::BoundingBox ( ) const

◆ BrepForm()

ON_Brep * ON_Geometry::BrepForm ( ON_Brep * brep = NULL) const
virtual

Reimplemented in ON_Extrusion, ON_Brep, ON_MorphControl, and ON_Surface.

◆ ClearBoundingBox()

void ON_Geometry::ClearBoundingBox ( )
virtual

◆ ComponentIndex()

ON_COMPONENT_INDEX ON_Geometry::ComponentIndex ( ) const
virtual

◆ Dimension()

◆ EvaluatePoint()

bool ON_Geometry::EvaluatePoint ( const class ON_ObjRef & objref,
ON_3dPoint & P ) const
virtual

◆ GetBBox()

◆ GetBoundingBox() [1/2]

ON_BOOL32 ON_Geometry::GetBoundingBox ( ON_3dPoint & bbox_min,
ON_3dPoint & bbox_max,
int bGrowBox = false ) const

◆ GetBoundingBox() [2/2]

ON_BOOL32 ON_Geometry::GetBoundingBox ( ON_BoundingBox & bbox,
int bGrowBox = false ) const

◆ GetTightBoundingBox()

◆ HasBrepForm()

ON_BOOL32 ON_Geometry::HasBrepForm ( ) const
virtual

Reimplemented in ON_Brep, ON_MorphControl, and ON_Surface.

◆ IsDeformable()

◆ IsMorphable()

bool ON_Geometry::IsMorphable ( ) const
virtual

◆ MakeDeformable()

◆ Morph()

◆ ON_OBJECT_DECLARE()

ON_Geometry::ON_OBJECT_DECLARE ( ON_Geometry )
private

◆ operator=()

ON_Geometry & ON_Geometry::operator= ( const ON_Geometry & src)

◆ Rotate() [1/2]

ON_BOOL32 ON_Geometry::Rotate ( double rotation_angle,
const ON_3dVector & rotation_axis,
const ON_3dPoint & rotation_center )

◆ Rotate() [2/2]

ON_BOOL32 ON_Geometry::Rotate ( double sin_angle,
double cos_angle,
const ON_3dVector & rotation_axis,
const ON_3dPoint & rotation_center )

◆ Scale()

ON_BOOL32 ON_Geometry::Scale ( double scale_factor)

◆ SwapCoordinates()

ON_BOOL32 ON_Geometry::SwapCoordinates ( int i,
int j )
virtual

◆ Transform()

◆ Translate()

ON_BOOL32 ON_Geometry::Translate ( const ON_3dVector & translation_vector)

The documentation for this class was generated from the following files: