Sponsored Content
Top Forums Programming its been a while, but its comming back! Post 302312347 by shamrock on Friday 1st of May 2009 01:01:58 AM
Old 05-01-2009
You need to pass a pointer to plane instead of itself i.e.
Code:
void ac (int choice, FILE** plane,int input[], int* MAX_WEIGHT, int* MAX_CG, int arm[]);

 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

problem with comming out on internet

Hi I am runnig Sun solaris 9 on Intel. I have problem with comming out on internet, i can ping the other machine that are in the network. what should i do? /stefan (1 Reply)
Discussion started by: steffa
1 Replies

2. HP-UX

Help about back up

Hi this is Ramana.sv new to this group, please help me about my question, i am using HP-UX11.11i with oracle 10G this server is in india and i have another server in US with same HP-UX with oracle10G, what i want is i want to rename the local database in local HP server and copy the database from... (0 Replies)
Discussion started by: mcseramana
0 Replies

3. Shell Programming and Scripting

back up

hi all i need to transfer files from one server to another,but i have to make up a backup with a datestamp on the destination server beore i move the new files from the source to the destination server. example source server destination server a.sun a.sun b.sun ... (0 Replies)
Discussion started by: bkan77
0 Replies

4. AIX

back to back printing in UNIX

Hi , Can you suggest me how to back to back printing in UNIX? Is there any way? Kindly advise. Regards Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies

5. IP Networking

Back-to-Back Connection using HBAs

Hi every body, Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber. Note it is direct connection & there is no switches between the servers. I'm concern about using HBA adapters, it is possible or not. Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies

6. Shell Programming and Scripting

scripting/awk help : awk sum output is not comming in regular format. Pls advise.

Hi Experts, I am adding a column of numbers with awk , however not getting correct output: # awk '{sum+=$1} END {print sum}' datafile 2.15291e+06 How can I getthe output like : 2152910 Thank you.. # awk '{sum+=$1} END {print sum}' datafile 2.15079e+06 (3 Replies)
Discussion started by: rveri
3 Replies

7. Solaris

Oracle db is not comming up..

Hi, We need to the file(blocks) should be unlimited...tried ulimit -f unlimited.. but still its not working..this is solaris 9 system. Please help me out.this is production server... orapd1 2% ulimit -a time(seconds) unlimited file(blocks) 1000000... (2 Replies)
Discussion started by: bpsunadm
2 Replies

8. Shell Programming and Scripting

Output is not comming as expected

Hi All, I am in middle of one script. I want output in the form of xls file. There are 4 fields - user name, email Id, full name, date of birth. I want these details to get in seperate columns. But, i am getting it in the single cell and as like a paragraph.:mad: Please suggest me some... (8 Replies)
Discussion started by: Agupte
8 Replies

9. Shell Programming and Scripting

awk - output comming strange: for operator ~ and == .

Hi awk experts, I am getting a strange output , may be it is normal but I am unable to comprehend, When Using == operator it is showing correct: # ls -l | awk '{for (i=0;i<=NF;i++) if ( $i =="info" )print $1,$6,$7,$8,$9}' drwx------ Jan 17 10:44 info But When using ~ (equal )... (4 Replies)
Discussion started by: rveri
4 Replies
SbPlane(3)							       Coin								SbPlane(3)

NAME
SbPlane - The SbPlane class represents a plane in 3D space. SbDPPlane is used by many other classes in Coin. It provides a way of representing a plane, specified by a plane normal vector and a distance from the origin of the coordinate system. SYNOPSIS
#include <Inventor/SbLinear.h> Public Member Functions SbPlane (void) SbPlane (const SbVec3f &normal, const float D) SbPlane (const SbVec3f &p0, const SbVec3f &p1, const SbVec3f &p2) SbPlane (const SbVec3f &normal, const SbVec3f &point) void offset (const float d) SbBool intersect (const SbLine &l, SbVec3f &intersection) const void transform (const SbMatrix &matrix) SbBool isInHalfSpace (const SbVec3f &point) const float getDistance (const SbVec3f &point) const const SbVec3f & getNormal (void) const float getDistanceFromOrigin (void) const void print (FILE *file) const SbBool intersect (const SbPlane &pl, SbLine &line) const Friends int operator== (const SbPlane &p1, const SbPlane &p2) int operator!= (const SbPlane &p1, const SbPlane &p2) Detailed Description The SbPlane class represents a plane in 3D space. SbDPPlane is used by many other classes in Coin. It provides a way of representing a plane, specified by a plane normal vector and a distance from the origin of the coordinate system. The SbPlane class represents a plane in 3D space. SbPlane is used by many other classes in Coin. It provides a way of representing a plane, specified by a plane normal vector and a distance from the origin of the coordinate system. Be aware that this class is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API. Since: Coin 2.0 Constructor &; Destructor Documentation SbPlane::SbPlane (void) An SbPlane instantiated with the default constructor will be uninitialized. SbPlane::SbPlane (const SbVec3f &normalref, const floatD) Construct an SbPlane instance with a normal pointing in the given direction and the given shortest distance from the origin of the coordinate system to a point in the plane. normal must not be a null vector. SbPlane::SbPlane (const SbVec3f &p0, const SbVec3f &p1, const SbVec3f &p2) Construct an SbPlane with three points laying in the plane. Make sure p0, p1 and p2 are actually three distinct points, not on a line, when using this constructor. SbPlane::SbPlane (const SbVec3f &normalref, const SbVec3f &point) Construct an SbPlane from a normal and a point laying in the plane. normal must not be a null vector. Member Function Documentation void SbPlane::offset (const floatd) Add the given offset d to the plane distance from the origin. SbBool SbPlane::intersect (const SbLine &l, SbVec3f &intersection) const Find the point on given line l intersecting the plane and return it in intersection. If the line is parallel to the plane, we return FALSE, otherwise TRUE. Do not pass an invalid line for the l parameter (i.e. with a null direction vector). void SbPlane::transform (const SbMatrix &matrix) Transform the plane by matrix. See also: offset() SbBool SbPlane::isInHalfSpace (const SbVec3f &point) const Check if the given point lies in the halfspace of the plane which the plane normal vector is pointing. float SbPlane::getDistance (const SbVec3f &point) const Return the distance from point to plane. Positive distance means the point is in the plane's half space. This method is an extension specific to Coin versus the original SGI Inventor API. const SbVec3f & SbPlane::getNormal (void) const Return the plane's normal vector, which indicates which direction the plane is oriented. See also: getDistanceFromOrigin(). float SbPlane::getDistanceFromOrigin (void) const Return distance from origin of coordinate system to the point in the plane which is closest to the origin. See also: getNormal(). void SbPlane::print (FILE *fp) const Dump the state of this object to the file stream. Only works in debug version of library, method does nothing in an optimized build. SbBool SbPlane::intersect (const SbPlane &pl, SbLine &line) const Intersect this plane with pl, and return the resulting line in line. Returns TRUE if an intersection line can be found, and FALSE if the planes are parallel. Please note that the resulting SbLine must be considered as a line intersecting the SbLine's origin, extending infinitely in both directions. This function is an extension for Coin, and it is not available in the original SGI Open Inventor v2.1 API. Since: Coin 2.0 Friends And Related Function Documentation int operator== (const SbPlane &p1, const SbPlane &p2) [friend] Check the two given planes for equality. int operator!= (const SbPlane &p1, const SbPlane &p2) [friend] Check the two given planes for unequality. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SbPlane(3)
All times are GMT -4. The time now is 01:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy