hep.geant4.jni
Class G4VTwistSurface
java.lang.Object
hep.geant4.jni.G4VTwistSurface
- Direct Known Subclasses:
- G4TwistBoxSide, G4TwistTrapAlphaSide, G4TwistTrapFlatSide, G4TwistTrapParallelSide, G4TwistTubsFlatSide, G4TwistTubsHypeSide, G4TwistTubsSide
public class G4VTwistSurface
- extends Object
Method Summary |
int |
amIOnLeftSide(G4ThreeVector me,
G4ThreeVector vec)
|
int |
amIOnLeftSide(G4ThreeVector me,
G4ThreeVector vec,
boolean withTol)
|
G4ThreeVector |
computeGlobalDirection(G4ThreeVector lp)
|
G4ThreeVector |
computeGlobalPoint(G4ThreeVector lp)
|
G4ThreeVector |
computeLocalDirection(G4ThreeVector gp)
|
G4ThreeVector |
computeLocalPoint(G4ThreeVector gp)
|
void |
debugPrint()
|
void |
delete()
|
double |
distanceTo(G4ThreeVector gp,
G4ThreeVector gxx)
|
double |
distanceToBoundary(int areacode,
G4ThreeVector xx,
G4ThreeVector p)
|
double |
distanceToIn(G4ThreeVector gp,
G4ThreeVector gv,
G4ThreeVector gxxbest)
|
double |
distanceToLine(G4ThreeVector p,
G4ThreeVector x0,
G4ThreeVector d,
G4ThreeVector xx)
|
double |
distanceToOut(G4ThreeVector gp,
G4ThreeVector gv,
G4ThreeVector gxxbest)
|
double |
distanceToPlane(G4ThreeVector p,
G4ThreeVector x0,
G4ThreeVector n0,
G4ThreeVector xx)
|
double |
distanceToPlane(G4ThreeVector p,
G4ThreeVector x0,
G4ThreeVector t1,
G4ThreeVector t2,
G4ThreeVector xx,
G4ThreeVector n)
|
double |
distanceToPlaneWithV(G4ThreeVector p,
G4ThreeVector v,
G4ThreeVector x0,
G4ThreeVector n0,
G4ThreeVector xx)
|
int |
distanceToSurface(G4ThreeVector gp,
G4ThreeVector gxx,
double[] distance,
int[] areacode)
|
int |
distanceToSurface(G4ThreeVector gp,
G4ThreeVector gv,
G4ThreeVector gxx,
double[] distance,
int[] areacode,
boolean[] isvalid)
|
int |
distanceToSurface(G4ThreeVector gp,
G4ThreeVector gv,
G4ThreeVector gxx,
double[] distance,
int[] areacode,
boolean[] isvalid,
G4VTwistSurface.EValidate validate)
|
boolean |
equals(Object obj)
|
protected void |
finalize()
|
int |
getAxisType(int areacode,
int whichaxis)
|
G4ThreeVector |
getBoundaryAtPZ(int areacode,
G4ThreeVector p)
|
double |
getBoundaryMax(double arg0)
|
double |
getBoundaryMin(double arg0)
|
void |
getBoundaryParameters(int areacode,
G4ThreeVector d,
G4ThreeVector x0,
SWIGTYPE_p_int boundarytype)
|
static long |
getCPtr(G4VTwistSurface obj)
|
int |
getEdgeVisibility(int i,
int j,
int m,
int n,
int number,
int orientation)
|
int |
getFace(int i,
int j,
int m,
int n,
int iside)
|
void |
getFacets(int m,
int n,
SWIGTYPE_p_a_3__double xyz,
SWIGTYPE_p_a_4__int faces,
int iside)
|
String |
getName()
|
int |
getNode(int i,
int j,
int m,
int n,
int iside)
|
G4ThreeVector |
getNormal(G4ThreeVector xx,
boolean isGlobal)
|
static int |
getSAreaMask()
|
static int |
getSAxis0()
|
static int |
getSAxis1()
|
static int |
getSAxisMask()
|
static int |
getSAxisMax()
|
static int |
getSAxisMin()
|
static int |
getSAxisPhi()
|
static int |
getSAxisRho()
|
static int |
getSAxisX()
|
static int |
getSAxisY()
|
static int |
getSAxisZ()
|
static int |
getSBoundary()
|
static int |
getSC0Max1Max()
|
static int |
getSC0Max1Min()
|
static int |
getSC0Min1Max()
|
static int |
getSC0Min1Min()
|
static int |
getSCorner()
|
static int |
getSInside()
|
static int |
getSOutside()
|
static int |
getSSizeMask()
|
double |
getSurfaceArea()
|
boolean |
isAxis0(int areacode)
|
boolean |
isAxis1(int areacode)
|
boolean |
isBoundary(int areacode)
|
boolean |
isBoundary(int areacode,
boolean testbitmode)
|
boolean |
isCorner(int areacode)
|
boolean |
isCorner(int areacode,
boolean testbitmode)
|
boolean |
isInside(int areacode)
|
boolean |
isInside(int areacode,
boolean testbitmode)
|
boolean |
isOutside(int areacode)
|
boolean |
isSameBoundary(G4VTwistSurface surface1,
int areacode1,
G4VTwistSurface surface2,
int areacode2)
|
boolean |
isValidNorm()
|
void |
setAxis(int i,
EAxis axis)
|
void |
setNeighbours(G4VTwistSurface axis0min,
G4VTwistSurface axis1min,
G4VTwistSurface axis0max,
G4VTwistSurface axis1max)
|
G4ThreeVector |
surfacePoint(double arg0,
double arg1)
|
G4ThreeVector |
surfacePoint(double arg0,
double arg1,
boolean isGlobal)
|
swigCMemOwn
protected boolean swigCMemOwn
G4VTwistSurface
public G4VTwistSurface(long cPtr,
boolean cMemoryOwn)
getCPtr
public static long getCPtr(G4VTwistSurface obj)
finalize
protected void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable
delete
public void delete()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
amIOnLeftSide
public int amIOnLeftSide(G4ThreeVector me,
G4ThreeVector vec,
boolean withTol)
amIOnLeftSide
public int amIOnLeftSide(G4ThreeVector me,
G4ThreeVector vec)
distanceToBoundary
public double distanceToBoundary(int areacode,
G4ThreeVector xx,
G4ThreeVector p)
distanceToIn
public double distanceToIn(G4ThreeVector gp,
G4ThreeVector gv,
G4ThreeVector gxxbest)
distanceToOut
public double distanceToOut(G4ThreeVector gp,
G4ThreeVector gv,
G4ThreeVector gxxbest)
distanceTo
public double distanceTo(G4ThreeVector gp,
G4ThreeVector gxx)
distanceToSurface
public int distanceToSurface(G4ThreeVector gp,
G4ThreeVector gv,
G4ThreeVector gxx,
double[] distance,
int[] areacode,
boolean[] isvalid,
G4VTwistSurface.EValidate validate)
distanceToSurface
public int distanceToSurface(G4ThreeVector gp,
G4ThreeVector gv,
G4ThreeVector gxx,
double[] distance,
int[] areacode,
boolean[] isvalid)
distanceToSurface
public int distanceToSurface(G4ThreeVector gp,
G4ThreeVector gxx,
double[] distance,
int[] areacode)
debugPrint
public void debugPrint()
getNormal
public G4ThreeVector getNormal(G4ThreeVector xx,
boolean isGlobal)
getName
public String getName()
getBoundaryParameters
public void getBoundaryParameters(int areacode,
G4ThreeVector d,
G4ThreeVector x0,
SWIGTYPE_p_int boundarytype)
getBoundaryAtPZ
public G4ThreeVector getBoundaryAtPZ(int areacode,
G4ThreeVector p)
distanceToPlaneWithV
public double distanceToPlaneWithV(G4ThreeVector p,
G4ThreeVector v,
G4ThreeVector x0,
G4ThreeVector n0,
G4ThreeVector xx)
distanceToPlane
public double distanceToPlane(G4ThreeVector p,
G4ThreeVector x0,
G4ThreeVector n0,
G4ThreeVector xx)
distanceToPlane
public double distanceToPlane(G4ThreeVector p,
G4ThreeVector x0,
G4ThreeVector t1,
G4ThreeVector t2,
G4ThreeVector xx,
G4ThreeVector n)
distanceToLine
public double distanceToLine(G4ThreeVector p,
G4ThreeVector x0,
G4ThreeVector d,
G4ThreeVector xx)
isAxis0
public boolean isAxis0(int areacode)
isAxis1
public boolean isAxis1(int areacode)
isOutside
public boolean isOutside(int areacode)
isInside
public boolean isInside(int areacode,
boolean testbitmode)
isInside
public boolean isInside(int areacode)
isBoundary
public boolean isBoundary(int areacode,
boolean testbitmode)
isBoundary
public boolean isBoundary(int areacode)
isCorner
public boolean isCorner(int areacode,
boolean testbitmode)
isCorner
public boolean isCorner(int areacode)
isValidNorm
public boolean isValidNorm()
isSameBoundary
public boolean isSameBoundary(G4VTwistSurface surface1,
int areacode1,
G4VTwistSurface surface2,
int areacode2)
getAxisType
public int getAxisType(int areacode,
int whichaxis)
computeGlobalPoint
public G4ThreeVector computeGlobalPoint(G4ThreeVector lp)
computeLocalPoint
public G4ThreeVector computeLocalPoint(G4ThreeVector gp)
computeGlobalDirection
public G4ThreeVector computeGlobalDirection(G4ThreeVector lp)
computeLocalDirection
public G4ThreeVector computeLocalDirection(G4ThreeVector gp)
setAxis
public void setAxis(int i,
EAxis axis)
setNeighbours
public void setNeighbours(G4VTwistSurface axis0min,
G4VTwistSurface axis1min,
G4VTwistSurface axis0max,
G4VTwistSurface axis1max)
surfacePoint
public G4ThreeVector surfacePoint(double arg0,
double arg1,
boolean isGlobal)
surfacePoint
public G4ThreeVector surfacePoint(double arg0,
double arg1)
getBoundaryMin
public double getBoundaryMin(double arg0)
getBoundaryMax
public double getBoundaryMax(double arg0)
getSurfaceArea
public double getSurfaceArea()
getFacets
public void getFacets(int m,
int n,
SWIGTYPE_p_a_3__double xyz,
SWIGTYPE_p_a_4__int faces,
int iside)
getNode
public int getNode(int i,
int j,
int m,
int n,
int iside)
getFace
public int getFace(int i,
int j,
int m,
int n,
int iside)
getEdgeVisibility
public int getEdgeVisibility(int i,
int j,
int m,
int n,
int number,
int orientation)
getSOutside
public static int getSOutside()
getSInside
public static int getSInside()
getSBoundary
public static int getSBoundary()
getSCorner
public static int getSCorner()
getSC0Min1Min
public static int getSC0Min1Min()
getSC0Max1Min
public static int getSC0Max1Min()
getSC0Max1Max
public static int getSC0Max1Max()
getSC0Min1Max
public static int getSC0Min1Max()
getSAxisMin
public static int getSAxisMin()
getSAxisMax
public static int getSAxisMax()
getSAxisX
public static int getSAxisX()
getSAxisY
public static int getSAxisY()
getSAxisZ
public static int getSAxisZ()
getSAxisRho
public static int getSAxisRho()
getSAxisPhi
public static int getSAxisPhi()
getSAxis0
public static int getSAxis0()
getSAxis1
public static int getSAxis1()
getSSizeMask
public static int getSSizeMask()
getSAxisMask
public static int getSAxisMask()
getSAreaMask
public static int getSAreaMask()
Copyright © 2000-2007 FreeHEP. All Rights Reserved.