QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_Point Class Reference

#include <opennurbs_pointgeometry.h>

Inheritance diagram for ON_Point:
ON_Geometry ON_Object ON_AnnotationTextDot ON_BrepVertex

Public Member Functions

int Dimension () const
 
void Dump (ON_TextLog &) const
 
ON_BOOL32 GetBBox (double *, double *, ON_BOOL32=false) const
 
bool IsDeformable () const
 
bool IsMorphable () const
 
ON_BOOL32 IsValid (ON_TextLog *text_log=NULL) const
 
bool MakeDeformable ()
 
bool Morph (const ON_SpaceMorph &morph)
 
ON::object_type ObjectType () const
 
 ON_Point ()
 
 ON_Point (const ON_3dPoint &)
 
 ON_Point (const ON_Point &)
 
 ON_Point (double, double, double)
 
 operator const double * () const
 
 operator const ON_3dPoint & () const
 
 operator const ON_3dPoint * () const
 
 operator double * ()
 
 operator ON_3dPoint & ()
 
 operator ON_3dPoint * ()
 
ON_Pointoperator= (const ON_3dPoint &)
 
ON_Pointoperator= (const ON_Point &)
 
ON_BOOL32 Read (ON_BinaryArchive &)
 
ON_BOOL32 SwapCoordinates (int, int)
 
ON_BOOL32 Transform (const ON_Xform &)
 
ON_BOOL32 Write (ON_BinaryArchive &) const
 
 ~ON_Point ()
 
- Public Member Functions inherited from ON_Geometry
ON_BoundingBox BoundingBox () const
 
virtual ON_BrepBrepForm (ON_Brep *brep=NULL) const
 
virtual void ClearBoundingBox ()
 
virtual ON_COMPONENT_INDEX ComponentIndex () const
 
virtual bool EvaluatePoint (const class ON_ObjRef &objref, ON_3dPoint &P) const
 
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
 
 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)
 
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)
 
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 void MemoryRelocate ()
 
virtual ON_UUID ModelObjectId () const
 
void MoveUserData (ON_Object &source_object)
 
 ON_Object ()
 
 ON_Object (const ON_Object &)
 
ON_Objectoperator= (const ON_Object &)
 
void PurgeUserData ()
 
bool SetUserString (const wchar_t *key, const wchar_t *string_value)
 
virtual unsigned int SizeOf () const
 
void TransformUserData (const ON_Xform &xform)
 
virtual ~ON_Object ()
 

Public Attributes

ON_3dPoint point
 
- Public Attributes inherited from ON_Object
ON_MEMORY_POOLm_mempool
 

Private Member Functions

 ON_OBJECT_DECLARE (ON_Point)
 

Constructor & Destructor Documentation

◆ ON_Point() [1/4]

ON_Point::ON_Point ( )

◆ ON_Point() [2/4]

ON_Point::ON_Point ( const ON_Point & src)

◆ ON_Point() [3/4]

ON_Point::ON_Point ( const ON_3dPoint & pt)

◆ ON_Point() [4/4]

ON_Point::ON_Point ( double x,
double y,
double z )

◆ ~ON_Point()

ON_Point::~ON_Point ( )

Member Function Documentation

◆ Dimension()

int ON_Point::Dimension ( ) const
virtual

Implements ON_Geometry.

◆ Dump()

void ON_Point::Dump ( ON_TextLog & dump) const
virtual

Reimplemented from ON_Object.

◆ GetBBox()

ON_BOOL32 ON_Point::GetBBox ( double * boxmin,
double * boxmax,
ON_BOOL32 bGrowBox = false ) const
virtual

Implements ON_Geometry.

◆ IsDeformable()

bool ON_Point::IsDeformable ( ) const
virtual

Reimplemented from ON_Geometry.

◆ IsMorphable()

bool ON_Point::IsMorphable ( ) const
virtual

Reimplemented from ON_Geometry.

◆ IsValid()

ON_BOOL32 ON_Point::IsValid ( ON_TextLog * text_log = NULL) const
virtual

Implements ON_Object.

◆ MakeDeformable()

bool ON_Point::MakeDeformable ( )
virtual

Reimplemented from ON_Geometry.

◆ Morph()

bool ON_Point::Morph ( const ON_SpaceMorph & morph)
virtual

Reimplemented from ON_Geometry.

◆ ObjectType()

ON::object_type ON_Point::ObjectType ( ) const
virtual

Reimplemented from ON_Object.

◆ ON_OBJECT_DECLARE()

ON_Point::ON_OBJECT_DECLARE ( ON_Point )
private

◆ operator const double *()

ON_Point::operator const double * ( ) const

◆ operator const ON_3dPoint &()

ON_Point::operator const ON_3dPoint & ( ) const

◆ operator const ON_3dPoint *()

ON_Point::operator const ON_3dPoint * ( ) const

◆ operator double *()

ON_Point::operator double * ( )

◆ operator ON_3dPoint &()

ON_Point::operator ON_3dPoint & ( )

◆ operator ON_3dPoint *()

ON_Point::operator ON_3dPoint * ( )

◆ operator=() [1/2]

ON_Point & ON_Point::operator= ( const ON_3dPoint & pt)

◆ operator=() [2/2]

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

◆ Read()

ON_BOOL32 ON_Point::Read ( ON_BinaryArchive & file)
virtual

Reimplemented from ON_Object.

◆ SwapCoordinates()

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

Reimplemented from ON_Geometry.

◆ Transform()

ON_BOOL32 ON_Point::Transform ( const ON_Xform & xform)
virtual

Reimplemented from ON_Geometry.

◆ Write()

ON_BOOL32 ON_Point::Write ( ON_BinaryArchive & file) const
virtual

Reimplemented from ON_Object.

Member Data Documentation

◆ point

ON_3dPoint ON_Point::point

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