19 #ifndef OPENNURBS_LEADER_H_INCLUDED 20 #define OPENNURBS_LEADER_H_INCLUDED 37 void Internal_Destroy();
38 void Internal_CopyFrom(
const ON_Leader& src);
54 const wchar_t* leader_text,
83 const class ON_OBSOLETE_V5_Leader& V5_leader,
91 bool GetBBox(
double* boxmin,
double* boxmax,
bool bGrowBox =
false )
const override;
104 bool GetTextGripPoints(
108 double textscale)
const;
128 void DeleteCurve()
const;
151 ON__UINT32 PointCount()
const;
152 void SetPoints2d(
int count,
const ON_2dPoint* points);
153 void SetPoints3d(
int count,
const ON_3dPoint* points);
156 void InsertPoint2d(
int atidx,
ON_2dPoint point);
157 void InsertPoint3d(
int atidx,
ON_3dPoint point);
160 void RemovePoint(
int idx);
161 bool Point2d(
int idx,
ON_2dPoint& point)
const;
162 bool Point3d(
int idx,
ON_3dPoint& point)
const;
172 void InvalidateTextPoint();
173 bool UpdateTextPosition(
Definition: opennurbs_annotationbase.h:23
virtual bool Transform(const ON_Xform &xform)
Transforms the object.
virtual int Dimension() const
Dimension of the object.
virtual bool GetBBox(double *boxmin, double *boxmax, bool bGrowBox=false) const
This is the virtual function that actually calculates axis aligned bounding boxes.
void SetPlane(const ON_Plane &plane)
ON_Leader class.
Definition: opennurbs_leader.h:23
static const ON_Leader Empty
Definition: opennurbs_leader.h:34
Definition: opennurbs_dimensionstyle.h:218
bool IsValid(class ON_TextLog *text_log=nullptr) const override
Tests an object to see if its data members are correctly initialized.
Context for an annotation object. This context is required when converting current annotation objects...
Definition: opennurbs_archive.h:1592
virtual bool GetAnnotationBoundingBox(const ON_Viewport *vp, const ON_DimStyle *dimstyle, double dimscale, double *boxmin, double *boxmax, bool bGrow=false) const =0
Definition: opennurbs_point.h:277
ON::object_type ObjectType() const override
Useful for switch statements that need to differentiate between basic object types like points...
ON_Annotation & operator=(const ON_Annotation &src)
virtual void Dump(ON_TextLog &) const
Creates a text dump of the object.
Definition: opennurbs_line.h:20
static const ON_2dPoint UnsetPoint
Definition: opennurbs_point.h:291
Definition: opennurbs_nurbscurve.h:26
Definition: opennurbs_textlog.h:20
Definition: opennurbs_archive.h:1783
Definition: opennurbs_viewport.h:31
virtual bool Read(ON_BinaryArchive &binary_archive)
Low level archive writing tool used by ON_BinaryArchive::ReadObject().
Definition: opennurbs_point.h:460
virtual bool Write(ON_BinaryArchive &binary_archive) const
Low level archive writing tool used by ON_BinaryArchive::WriteObject().
virtual bool GetTextXform(const ON_Viewport *vp, const ON_DimStyle *dimstyle, double dimscale, ON_Xform &text_xform_out) const =0
Definition: opennurbs_plane.h:20
Definition: opennurbs_point.h:839
Definition: opennurbs_point.h:1973