maptek.vulcan.arrow
Interface for Vulcan design arrows.
- set_auto_scale (arrow self, bool autoscale=True)
-
Sets the arrow auto scale setting.
- get_arrow_type (arrow self) → std::string
-
Gets the arrow type (2D/3D).
- set_arrow_type (arrow self, std::string const & type)
-
Sets the arrow type.
-
Types of arrows:
-
-
start→ Arrow start
-
end→ Arrow end
-
normal→ Arrow normal
-
scale→ Arrow scale
-
num_facets → Arrow number of facets
-
head_length→ Arrow head length
-
head_width → Arrow head width
-
relative_head_length → Arrow relative head length
-
relative_head_width → Arrow relative head width
-
arrow_type → Arrow type (2D, 3D)
-
auto_scale → Arrow auto scale
-
filled → Arrow fill setting
-
- get_end (arrow self) → point
-
Gets the arrow end point.
- set_end (arrow self, point point)
-
Sets the arrow end point.
- is_filled (arrow self) → bool
-
Returns the arrow fill setting.
- set_filled (arrow self, bool filled=True)
-
Sets the arrow fill setting.
- get_head_length (arrow self) → double
-
Gets the arrow head length.
- set_head_length (arrow self, double percentage)
-
Sets the arrow head length.
- get_head_width (arrow self) → double
-
Gets the arrow head width.
- set_head_width (arrow self, double percentage)
-
Sets the arrow head width.
- get_normal (arrow self) → point
-
Gets the arrow normal.
- set_normal (arrow self, point point)
-
Sets the arrow normal.
- get_num_facets (arrow self) → int
-
Gets the number of facets.
- set_num_facets (arrow self, int facets)
-
Sets the number of facets.
- get_relative_head_length (arrow self) → double
-
Gets the relative arrow head length.
- set_relative_head_length (arrow self, double percentage)
-
Sets the relative arrow head length.
- get_relative_head_width (arrow self) → double
-
Gets the relative arrow head width.
- set_relative_head_width (arrow self, double percentage)
-
Sets the relative arrow head width.
- get_scale (arrow self) → std::string
-
Gets the arrow scale.
- set_scale (arrow self, std::string const & scale)
-
Sets the arrow scale.
- get_scaled_head_length (arrow self) → double
-
Gets the scaled head length of the arrow.
- get_scaled_head_width (arrow self) → double
-
Gets the scaled head width of the arrow.
- get_start (arrow self) → point
-
Gets the arrow starting point.
- set_start (arrow self, point point)
-
Sets the arrow starting point.