Page 1 of 1
Understanding Points
Posted: 25 Apr 2005, 06:25
by Dane
I am experimenting with several features of the VCL import and having difficulty understanding the point values. For instances TsgDXFText has a 'Box' property and a 'Point' property. What are these in relation to? Do they require conversion?
Thanks
Posted: 25 Apr 2005, 12:44
by support
There are no relations between properties 'Box' and 'Point'.
There is no need for any theirs conversion.
'Box' - determines the rectangle embraced the entity.
'Point' - first alignment point.
'Point1' - second alignment point.
'HAlign', 'VAlign' - Horizontal and Vertical text justification type.
'StartPoint' - contains the REAL coordinates of text starting point.
It can differ from Point property due to horizontal and vertical alignment values.
Properties 'Box' and 'Point' are for internal uses.
For drawing TEXT use property 'StartPoint'.
Sergey.
please post questions to the forum or write to
support@cadsofttools.com
Posted: 26 Apr 2005, 05:06
by Dane
Hi,
Thank you for the information. I missed the Text StartPoint altogether. We enclose certain text entities inside a polyline (rectangular box) to denote subassembly. What is my best method to ascertain whether a text's StartPoint is inside the boundaries of such a polyline?
Regards,
Dane
Posted: 29 Apr 2005, 17:23
by support
StartPoint is an insert point for drawing with all alignments.
To determine whether the text is inside of your "rectangular box" compare Text.Box with your "rectangular box".
Sergey.
please post questions to the forum or write to
support@cadsofttools.com
Posted: 01 May 2005, 06:19
by Dane
Thanks Sergey. I'll give that a go.
Posted: 18 May 2005, 06:20
by Dane
Hi,
I am still having difficulty determing text entity location. When iterating through the Text entities the StartPoint on a number of them shows as 0,0,0 yet they are not in the same spot. The HAlign/VAlign are set the same. What am I doing incorrectly?
Regards,
Posted: 02 Sep 2005, 14:00
by support
Hello Dane,
Could you please send to us file with examples of the problem you've described.
Sergey.
please post questions to the forum or write to
support@cadsofttools.com