"$triregionnumber" 修訂間的差異
行 26: | 行 26: | ||
x1,y1,x2,y2,x3,y3 are 3 vertex points of triangular |
x1,y1,x2,y2,x3,y3 are 3 vertex points of triangular |
||
+ | For the @type, it is the same definition as type in [[$emptyperiodshape]], see below |
||
+ | For @periodnumber, it is repeating how many times |
||
+ | For the @period_spacing, it is defining the spacing of each repeating objects. |
||
+ | |||
+ | |||
+ | |||
+ | '''<big><big>Example of @type </big></big>''' |
||
+ | |||
+ | Type.1~4 are triangle, circle, ellipse and rectangle. |
||
+ | |||
+ | If the parameters are not show in the figure, you should set those parameters as 0. |
||
+ | |||
+ | [[檔案:pic1.png|700px|left]] |
||
+ | <br style="clear:both;"> |
||
+ | |||
+ | |||
+ | |||
+ | Type5~8 are sine shape period structure. <br /> |
||
+ | |||
+ | Type.5 and 6 can be determined by this expression: |
||
+ | |||
+ | <math>f_6<y<f_1sinf_2x+f_3;</math><br /> |
||
+ | |||
+ | <math>f_4<x<f_5</math> |
||
+ | |||
+ | Type.7 and 8 can be determined by this expression: |
||
+ | |||
+ | <math>f_6<x<f_1sinf_2y+f_3;</math><br /> |
||
+ | |||
+ | <math>f_4<y<f_5</math> |
||
+ | |||
+ | [[檔案:pic2.png|700px|left]] |
||
+ | |||
+ | [[$emptyperiodshape]], |
於 2017年8月27日 (日) 21:35 的修訂
The number of regions that is in the triangular shape.
Example
$triregionnumber 2
This means that there are two triangular regions. This command must be set after the command
$ranges. The "triregionnumber" must be smaller than the "range number".
This command needs to be set before the command before the commands $triregiontype, $triranges,
For example:
$triregionnumber 2
$triregiontype @type @periodnumber @period_spacing @type @periodnumber @period_spacing
$triranges @x1 @y1 @x2 @y2 @x3 @y3 @x1 @y1 @x2 @y2 @x3 @y3
x1,y1,x2,y2,x3,y3 are 3 vertex points of triangular For the @type, it is the same definition as type in $emptyperiodshape, see below For @periodnumber, it is repeating how many times For the @period_spacing, it is defining the spacing of each repeating objects.
Example of @type
Type.1~4 are triangle, circle, ellipse and rectangle.
If the parameters are not show in the figure, you should set those parameters as 0.
Type5~8 are sine shape period structure.
Type.5 and 6 can be determined by this expression:
Type.7 and 8 can be determined by this expression: