05-02-2005
Another reason is that UNIX has a much better handle on security than Windows OS's do. A unix box can be locked down fairly easily and prevent most of the methods used to attack windows boxes.
So unix boxes dont make attractive targets.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i posted a reply the other day and needed an answer to this question while i was clarifyiing a few matter.. "how to compare to date variable in string format without having to compare word for word"..
my reply was to try to use awk to compare the strings.. I wasn't quite sure if i remembered how... (2 Replies)
Discussion started by: moxxx68
2 Replies
2. UNIX for Dummies Questions & Answers
I have three computers A, B and C. To login to B and C I should use A because it has a SSH key. I don't have any other way of accessing these two computers. Now, if I need to transfer a file between B and C, I am unable to find a way that would work... because I don't know how to authenticate... (1 Reply)
Discussion started by: Legend986
1 Replies
3. Programming
Hi,
I am trying to reverse a string using the following program utilizing the Exclusive OR bit operation:
int main() {
char str = "Quraish";
char *p = str, temp;
char *q = str + strlen(str) - 1;
while ( p != q ) {
if (*p != *q) {
*p ^= *q; *q ^= *p; *p ^= *q;... (1 Reply)
Discussion started by: royalibrahim
1 Replies
4. UNIX for Dummies Questions & Answers
Hi Gurus,
I am new to UNIX environment. We have our DataStage tool installed on UNIX box.We have Dev,test and Prod environments.The architecrue is as given below.
Now my problem is I am not able to know what is meant by Physical name,Logical name,Cluster etc. also we need to do failover in case a... (5 Replies)
Discussion started by: pratyusha
5 Replies
5. Shell Programming and Scripting
Hi,
What is the difference in the following two awk one-liners?
awk -F, '{s++} END {if (s == 1 && $4 > "09:10:00") {print $2, $4}}' f1
awk -F, '{s++} s == 1 && $4 > "09:10:00" {print $2, $4}' f1
Even though, all the 2nd column values have duplicate records, the first code does not give any... (4 Replies)
Discussion started by: royalibrahim
4 Replies
6. Programming
Hi,
In the below C code,
#include <stdio.h>
void print() {
printf("Hello\n");
}
int main() {
void (*f)() = (void (*)()) print;
f();
(*f)();
}
I wonder, how the syntaxes "f()" and "(*f)()" are treated as same without any error? Is this an improvement or ANSI/ISO... (1 Reply)
Discussion started by: royalibrahim
1 Replies
7. UNIX for Dummies Questions & Answers
I want to know the memory capacity and types of memories, processor and more...
What kind of aplications this OS attends?
Archicture/system classification (Hybrid, monolithic, multitasking, micro-kernel, layered, Another..?
Explain it to me... I really need to understand and know that.
Any... (3 Replies)
Discussion started by: AlissonManson
3 Replies
8. What is on Your Mind?
I have added a new experimental "Computer Science and Mathematics Trivia - True or False" section in the discussions, currently under the tags box.
In the future, I plan to
Expand this feature to add more trivia categories from math, science and technology.
Keep track of correct and... (20 Replies)
Discussion started by: Neo
20 Replies
LEARN ABOUT DEBIAN
soboundingboxcache
SoBoundingBoxCache(3) Coin SoBoundingBoxCache(3)
NAME
SoBoundingBoxCache -
The SoBoundingBoxCache class is used to cache bounding boxes.
SYNOPSIS
#include <Inventor/caches/SoBoundingBoxCache.h>
Inherits SoCache.
Public Member Functions
SoBoundingBoxCache (SoState *state)
virtual ~SoBoundingBoxCache ()
void set (const SbXfBox3f &boundingbox, SbBool centerset, const SbVec3f ¢erpoint)
const SbXfBox3f & getBox () const
const SbBox3f & getProjectedBox () const
SbBool isCenterSet () const
const SbVec3f & getCenter () const
SbBool hasLinesOrPoints (void) const
Static Public Member Functions
static void setHasLinesOrPoints (SoState *state)
Additional Inherited Members
Detailed Description
The SoBoundingBoxCache class is used to cache bounding boxes.
Constructor & Destructor Documentation
SoBoundingBoxCache::SoBoundingBoxCache (SoState *state)
Constructor with state being the current state.
SoBoundingBoxCache::~SoBoundingBoxCache () [virtual]
Destructor.
Member Function Documentation
void SoBoundingBoxCache::set (const SbXfBox3f &boundingbox, SbBoolcenterset, const SbVec3f ¢erpoint)
Sets the data for this cache. boundingBox is the node's bounding box, centerSet and centerPoints specifies the center of the geometry
inside boundingBox.
const SbXfBox3f & SoBoundingBoxCache::getBox (void) const
Returns the bounding box for this cache.
const SbBox3f & SoBoundingBoxCache::getProjectedBox (void) const
Returns the projected bounding box for this cache.
SbBool SoBoundingBoxCache::isCenterSet (void) const
Returns whether the center of the bounding box was set in the SoBoundingBoxCache::set() method.
See also:
SoBoundingBoxCache::getCenter()
const SbVec3f & SoBoundingBoxCache::getCenter (void) const
Returns the center of the bounding box. Should only be used if SoBoundingBoxCache::isCenterSet() returns TRUE.
void SoBoundingBoxCache::setHasLinesOrPoints (SoState *state) [static]
Sets the flag returned from SoBoundingBoxCache::hasLinesOrPoints() to TRUE for all open bounding box caches.
The reason bounding box caches keep a lines-or-points flag is to make it known to client code if the shape(s) they contain have any of
these primitives -- or are rendered with these primitives. The reason this is important to know for the client code is because it might
need to add an 'epsilon' slack value to the calculated bounding box to account for smoothing / anti-aliasing effects in the renderer, so
lines and points graphics is not accidently clipped by near and far clipping planes, for instance.
This method is a static method on the class. It will upon invocation scan through the state stack and set the flag for all open
SoBoundingBoxCache elements. It has been made to work like this so it can easily be invoked on all current bounding box cache instances
from the SoShape-type nodes using lines and / or point primitives.
See also:
hasLinesOrPoints()
SbBool SoBoundingBoxCache::hasLinesOrPoints (void) const
Return TRUE if the hasLinesOrPoints flag has been set.
See also:
setHasLinesOrPoints()
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 SoBoundingBoxCache(3)