PS_ARC(3) 1 PS_ARC(3)ps_arc - Draws an arc counterclockwiseSYNOPSIS
bool ps_arc (resource $psdoc, float $x, float $y, float $radius, float $alpha, float $beta)
DESCRIPTION
Draws a portion of a circle with at middle point at ($x, $y). The arc starts at an angle of $alpha and ends at an angle of $beta. It is
drawn counterclockwise (use ps_arcn(3) to draw clockwise). The subpath added to the current path starts on the arc at angle $alpha and ends
on the arc at angle $beta.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
o $x
- The x-coordinate of the circle's middle point.
o $y
- The y-coordinate of the circle's middle point.
o $radius
- The radius of the circle
o $alpha
- The start angle given in degrees.
o $beta
- The end angle given in degrees.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO ps_arcn(3).
PHP Documentation Group PS_ARC(3)
Check Out this Related Man Page
Geometry::Primitive::Arc(3pm) User Contributed Perl Documentation Geometry::Primitive::Arc(3pm)NAME
Geometry::Primitive::Arc - Portion of the circumference of a Circle
DESCRIPTION
Geometry::Primitive::Arc represents a closed segment of a curve.
SYNOPSIS
use Geometry::Primitive::Arc;
my $arc = Geometry::Primitive::Arc->new(
angle_start => 0,
angle_end => 1.57079633,
radius => 15
);
ATTRIBUTES
angle_start
The starting angle for this arc in radians.
angle_end
The ending angle for this arc in radians.
radius
Returns the radius of the arc.
origin
Set/Get the origin of this arc.
METHODS
new
Creates a new Geometry::Primitive::Arc
get_point_at_angle
Given angle in radians returns the point at that angle on this arc. Returns undef if the angle falls outside this arc's range.
length
Returns the length of this arc.
point_end
Get the end point. Provided for Shape role.
point_start
Get the start point. Provided for Shape role.
scale ($amount)
Increases the radius by multiplying it by the supplied amount.
AUTHOR
Cory Watson <gphat@cpan.org>
COPYRIGHT & LICENSE
You can redistribute and/or modify this code under the same terms as Perl itself.
perl v5.10.1 2010-01-10 Geometry::Primitive::Arc(3pm)
Hi,
Can somebody help me with ldapsearch? I am a newbie with linux and trying to do a ldapquery to resolve a full name from Active Directory?
When i give the command ldapsearch -h sso541885 "cn=mloon"
I get the error "ldap_sasl_interactive_bind_s: can't contact ldap server
Regards,
... (6 Replies)
We have an application that uses Active directory to authenticate the users. the admins of the app. were complaining because the windows domain controller they are going against is not very stable. I wrote a shell script using ldapsearch to look up a user against the domain controller their app... (2 Replies)
Good morning,
Firstly my appologies if this post is not exactly approprate for this forum but I do not know were else to post it. If anyone knows of a better forum for this please let me know.
I need to script an ldapsearch that will interrogate both unix and windows ldap servers. When it... (1 Reply)
I have a script that iterates through all the users that have logged in to the system for the past day and pulls out their role(s), adding them to a file.
The iteration part is working just fine, but the issue I have is with the result. When I do the LDAP query, the results I get are:
... (2 Replies)
Hello all
I would like to know if it's possible to extract users from Active Directory and parse the output to obtain a XML file with specific format.
So the AD is a windows machine, and I would like to extract from a red hat linux serveur. I try ldapsearch command and ok I'm abble to extract... (5 Replies)
How can I do a ldapsearch to find a DN for a user when I know the exact cn for that user out of active directory.
I have tried several different commands (hundreds) but need the -b with the full dn to perform the search using ldapsearch from AIX. I am trying to find the OU for a user and the... (3 Replies)
Hi there everyone. I'm trying to make a bash script that accepts some arguments ans give's back some info about LDAP users and servers.
I have this function :
has_group_access(){
result=$(ldapsearch -LLL "cn=${GROUP_NAME}" cn member | cut -d"," -f1 | cut -d":" -f2 | cut -d"=" -f2 | grep... (1 Reply)
Hi
I do a very simple monitoring of our OpenLDAP (runs in cronjob and generate alerts if unsuccessfull)
$ ldapsearch -h hostname.domain -D "cn=monitor_user,ou=People,dc=organisation" -w "password" -b "dc=organisation" -x "(&(cn=monitor_user)(ou=People))" dn | grep -v version
dn:... (4 Replies)
Hello all,
Hope you all are doing good :).
First of all, I apologize for my bad English
I want to get list of all user that have 'sudoCommand: ALL'
I've tried different sed and awk combinations without success :wall:
the command for extracting the OU for sudo is:
ldapsearch -x... (4 Replies)
Using ldapsearch, I've built the following command to get what I need.
ldapsearch -x -LLL -E pr=200/noprompt -h abc-loc.somecompany.com -D "account@somecompany.com" -w password -b "ou=End Users,ou=Accounts,dc=abc,dc=somecompany,dc=com" -s sub '(distinguishedName=CN=Bob\\, Billy J,OU=End... (8 Replies)
When I execute the code below with cn set to the $adgroup variable, I get the following error:
Invalid DN syntax (34)
Additional information: 0000208F: NameErr: DSID-031001F7, problem 2006 (BAD_NAME), data 8349, best match of:
,ou=Resource,ou=groups,dc=abc,dc=somecompany,dc=com'
If I set cn... (6 Replies)
Hi,
I'm trying to make a bash script to read LDAP (from MS active directory with ldapsearch), extract the fields 'mail', 'division', 'memberOf', 'userAccountControl', 'uidNumber', 'name', 'sAMAccountName' and save in a mysql database.
I have extracted the fields with ldapsearch but I am... (2 Replies)