Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.545.819 Times

CAD::Drawing::Manipulate 0.26

  Date Added: September 22, 2010  |  Visits: 925

CAD::Drawing::Manipulate

Report Broken Link
Printer Friendly Version


Product Homepage
Download (101 downloads)



CAD::Drawing::Manipulate is a Perl module to manipulate CAD::Drawing objects. Move, Copy, Scale, Mirror, and Rotate methods for single entities and groups of entities. Group Methods These methods are called with required values, followed by a hash reference of option values. Note the difference between this and the individual entity manipulation syntax shown below. The absence of an %options hash reference implies everything in the drawing. For details about each of the group manipulation methods, see the corresponding individual entity manipulation method. Options The $opts value shown for each of the group manipulation methods is fed directly to CAD::Drawing::select_addr(). See the documentation for this function for additional details. One of the most common methods of selection (after the implicit all) may be the explicit list of addresses. This is done by simply passing an array reference rather than a hash reference. GroupMove Move selected entities by @dist. $drw->GroupMove(@dist, $opts); GroupCopy Returns a list of addresses for newly created entities. @new = $drw->GroupCopy(@dist, $opts); GroupClone Returns a list of addresses for newly created entities. @new = $drw->GroupClone($dest, $opts); place Clones items from $source into $drw and moves them to @pt. Selects items according to %opts and optionally rotates them by $opts{ang} (given in radians.) $drw->place($source, @pt, %opts); GroupMirror Mirrors the entities specified by %options (see select_addr()) across @axis. @new = $drw->GroupMirror(@axis, %options); GroupScale Sorry, @pt is required here. $drw->GroupScale($factor, @pt, %opts); GroupRotate Rotates specified entities by $angle. A center point may be specified via $opts{pt} = @pt. $drw->GroupRotate($angle, %opts); Individual Methods Move Moves entity at $addr by @dist (@dist may be three-dimensional.) $drw->Move($addr, @dist); Copy $drw->Copy($addr, @dist); Clone Clones the entity at $addr into drawing $dest. $drw->Clone($addr, $dest, %opts); %opts may contain: to_layer => $layer_name, # layer to clone into Mirror Mirrors entity specified by $addr across @axis. Returns the address of the manipulated entity. If $opts{copy} is true, will clone the entity, otherwise modify in-place. $drw->Mirror($addr, @axis, %opts); Scale $drw->Scale($addr, $factor, @pt); Rotate Rotates entity specified by $addr by $angle (+ccw radians) about @pt. Angle may be in degrees if $angle =~ s/d$// returns a true value (but I hope the "d" is the only thing on the end, because Im not looking for anything beyond that.) $angle = "45" . "d" will get converted, but $angle = "45" . "bad" will be called 0. Remember, this is Perl:) $drw->Rotate($addr, $angle, @pt); Internal Functions pointrotate Internal use only. ($x, $y) = pointrotate($x, $y, $ang, $xc, $yc); pointmirror @point = pointmirror($axis, $pt); angle_of angle_of(@segment); Polygon Methods These dont do anything yet and need to be moved to another module anyway. CutPline $drw->CutPline(); IntPline $drw->IntPline(); intersect_pgon intersect_pgon();.

Requirements: No special requirements
Platforms: Linux
Keyword: Angle Cad Caddrawingmanipulate Entities Entity Libraries May Be Methods Opts Perl Module Programming Pt
Users rating: 0/10

License: Freeware Size: 39.94 KB
USER REVIEWS
More Reviews or Write Review


CAD::DRAWING::MANIPULATE RELATED
Libraries  -  CAD::Drawing::IO::Tk 0.04
CAD::Drawing::IO::Tk is a Perl module with GUI I/O methods for CAD::Drawing. This module is considered extremely pre-ALPHA and its use is probably deprecated by the time you read this. Methods There is no constructor for this class, its...
8.19 KB  
Libraries  -  CAD::Drawing::Manipulate::Transform 0.26
CAD::Drawing::Manipulate::Transform is a Perl module with Matrix methods for CAD::Drawing. Provides 3D transformation methods (based on traditional matrix algorithms) for Drawing.pm objects. Coordinate System All of these methods assume a...
39.94 KB  
Libraries  -  PDL::Parallel::MPI 0.02
PDL::Parallel::MPI Perl module contains routines to allow PDL objects to be moved around on parallel systems using the MPI library. SYNOPSIS use PDL; use PDL::Parallel::MPI; mpirun(2); MPI_Init(); $rank = get_rank(); $a=$rank * ones(2);...
133.12 KB  
Libraries  -  CAD::Drawing::IO::PgDB 0.03
CAD::Drawing::IO::PgDB is a Perl module with PostgreSQL save / load methods. This module is considered pre-ALPHA and under-documented. Its use is strongly discouraged except under experimental conditions. Particularly susceptible to change will...
8.19 KB  
Modules  -  Entity API 7.x-1.0-rc1
This project holds entity related APIs. * Entity CRUD API - Simplifies creating new entity types. Provides full CRUD functionality for new entity types. It offers an optional Entity class providing basic methods like save() and delete() as well as...
61.44 KB  
Libraries  -  CAD::Drawing::IO::PostScript 0.03
CAD::Drawing::IO::PostScript is a Perl module with PostScript output methods. I would like this module to both load and save PostScript vector graphics, but I have not yet found a suitable PostScript parsing package. This module should be...
8.19 KB  
Libraries  -  CAD::Drawing::IO::Split 0.26
CAD::Drawing::IO::Split is a Perl module that allows fast distributed text file methods. Requisite Plug-in Functions See CAD::Drawing::IO for a description of the plug-in architecture. check_type Returns true if $type is "split" or...
39.94 KB  
Libraries  -  HTML::Entities::Numbered 0.04
HTML::Entities::Numbered is a Perl module for conversion of numbered HTML entities. SYNOPSIS use HTML::Entities::Numbered; $html = Hi Honey♥; # convert named HTML entities to numbered (decimal) $decimal = name2decimal($html); # Hi...
8 MB  
Programming  -  Useful Java Application Components 0.9.25
UJAC provides a collection of JAVA components which may be useful in some projects. Each component is designed for easy use, easy integration into existing projects, extensibility and last but not least efficiency. Whats New in This Release:...
4.1 MB  
Libraries  -  CAD::Drawing 0.26
CAD::Drawing is a Perl module with methods to create, load, and save vector graphics. SYNOPSIS The primary intention of this module is to provide high-level operations for creating, loading, saving and manipulating vector graphics without...
39.94 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB