|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectigeo.ITensileNet
public class ITensileNet
Class to create tensile network which consists of IParticle and ITensionLine.
| Nested Class Summary | |
|---|---|
static class |
ITensileNet.IParticleOnCurveComparator
|
| Field Summary | |
|---|---|
static double |
curveTension
|
static double |
friction
|
java.util.ArrayList<ITensionLine> |
links
|
java.util.ArrayList<IParticleAgent> |
nodes
|
static double |
tension
|
| Constructor Summary | |
|---|---|
ITensileNet()
|
|
ITensileNet(java.util.ArrayList<ITensionLine> links,
java.util.ArrayList<IParticleAgent> nodes)
|
|
| Method Summary | |
|---|---|
static ITensileNet |
create(ICurveI[] linkLines)
|
static ITensileNet |
create(ICurveI[] linkLines,
boolean fixOpenEndLinkPoint)
|
static ITensileNet |
create(ICurveI[] sectionCurves,
ICurveI[] linkLines)
|
static ITensileNet |
create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
ICurveI[] fixedLines,
IVecI[] fixedPoints)
|
static ITensileNet |
create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
ICurveI[] fixedLines,
IVecI[] fixedPoints,
boolean tensionOnSameSection,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint)
|
static ITensileNet |
create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
ICurveI[] fixedLines,
IVecI[] fixedPoints,
boolean tensionOnSameSection,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines)
|
static ITensileNet |
create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
ICurveI[] fixedLines,
IVecI[] fixedPoints,
boolean tensionOnSameSection,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines,
double connectionTolerance)
create a network of tension line on section curve. |
static ITensileNet |
create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
IVecI[] fixedPoints)
|
static ITensileNet |
create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines)
|
static ITensileNet |
create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean tensionOnSameSection,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines)
|
static ITensileNet |
create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean tensionOnSameSection,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines,
double connectionTolerance)
create a network of tension line on section curve. |
static ITensileNet |
create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines,
double connectionTolerance)
|
static ITensileNet |
create(ICurveI[] linkLines,
IVecI[] fixedPoints)
|
static ITensileNet |
create(ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean fixOpenEndLinkPoint)
|
static ITensileNet |
create(ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean fixOpenEndLinkPoint,
boolean deleteLines)
|
static ITensileNet |
create(ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean fixOpenEndPoint,
boolean deleteLines,
double connectionTolerance)
create a network of tension line. |
static IParticleOnCurve |
createParticleOnClosestCurve(ICurveI[] sectionCurves,
IVec pos,
double closenessTolerance,
double uTolerance)
find the closest curve to the point and put particle on the curve. |
static IParticleOnCurve |
createParticleOnCurve(ICurveI curve,
IVec pos,
double closenessTolerance,
double uTolerance)
put particle on the curve. |
static ICurveI |
findClosestCurve(ICurveI[] sectionCurves,
IVec pos,
int searchResolution)
find the closest curve to the point pos out of sectionsCurves. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static double friction
public static double tension
public static double curveTension
public java.util.ArrayList<ITensionLine> links
public java.util.ArrayList<IParticleAgent> nodes
| Constructor Detail |
|---|
ITensileNet()
ITensileNet(java.util.ArrayList<ITensionLine> links,
java.util.ArrayList<IParticleAgent> nodes)
| Method Detail |
|---|
public static ITensileNet create(ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean fixOpenEndPoint,
boolean deleteLines,
double connectionTolerance)
linkLines - lines to create tension line. if it's curve, it's simplified to line.fixedPoints - if those points are on the end point of linkLines, those end points of tension line are fixed.deleteLines - when this is true and if lines are subclass of IObject, lines are deleted.connectionTolerance - tolerance to if two end points are connected or not
public static ITensileNet create(ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean fixOpenEndLinkPoint,
boolean deleteLines)
public static ITensileNet create(ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean fixOpenEndLinkPoint)
public static ITensileNet create(ICurveI[] linkLines,
boolean fixOpenEndLinkPoint)
public static ITensileNet create(ICurveI[] linkLines,
IVecI[] fixedPoints)
public static ITensileNet create(ICurveI[] linkLines)
public static ITensileNet create(ICurveI[] sectionCurves,
ICurveI[] linkLines)
public static ITensileNet create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
IVecI[] fixedPoints)
public static ITensileNet create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines)
public static ITensileNet create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines,
double connectionTolerance)
public static ITensileNet create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean tensionOnSameSection,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines)
public static ITensileNet create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
IVecI[] fixedPoints,
boolean tensionOnSameSection,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines,
double connectionTolerance)
sectionCurves - curves on which all the points sit.linkLines - lines to create tension line. if it's curve, it's simplified to line.fixedPoints - if those points are on the end point of linkLines, those end points of tension line are fixed.tensionOnSameSection - when this is true, tension between points on the same curve is created.fixOpenEndLinkPoint - when this is true open end of link lines are fixedfixOpenEndSectionPoint - when this is true points on the end of section are fixeddeleteLines - when this is true and if lines are subclass of IObject, lines are deleted.connectionTolerance - tolerance to if two end points are connected or not
public static ITensileNet create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
ICurveI[] fixedLines,
IVecI[] fixedPoints)
public static ITensileNet create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
ICurveI[] fixedLines,
IVecI[] fixedPoints,
boolean tensionOnSameSection,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint)
public static ITensileNet create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
ICurveI[] fixedLines,
IVecI[] fixedPoints,
boolean tensionOnSameSection,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines)
public static ITensileNet create(ICurveI[] sectionCurves,
ICurveI[] linkLines,
ICurveI[] fixedLines,
IVecI[] fixedPoints,
boolean tensionOnSameSection,
boolean fixOpenEndLinkPoint,
boolean fixOpenEndSectionPoint,
boolean deleteLines,
double connectionTolerance)
sectionCurves - curves on which all the points sit.linkLines - lines to create tension line. if it's curve, it's simplified to line.fixedPoints - if those points are on the end point of linkLines, those end points of tension line are fixed.tensionOnSameSection - when this is true, tension between points on the same curve is created.fixOpenEndLinkPoint - when this is true open end of link lines are fixedfixOpenEndSectionPoint - when this is true points on the end of section are fixeddeleteLines - when this is true and if lines are subclass of IObject, lines are deleted.connectionTolerance - tolerance to if two end points are connected or not
public static ICurveI findClosestCurve(ICurveI[] sectionCurves,
IVec pos,
int searchResolution)
sectionCurves - target curves to searchpos - point to measure the distance to check how closesearchResolution - resolution per a curve specifying how many points per a curve to be checked
public static IParticleOnCurve createParticleOnClosestCurve(ICurveI[] sectionCurves,
IVec pos,
double closenessTolerance,
double uTolerance)
sectionCurves - target curves to searchpos - point to measure the distance to check how closeclosenessTolerance - tolerance to determine if the point is on the curve or notuTolerance - tolerance in u parameter to specify how precise u parameter of particle shoould be
public static IParticleOnCurve createParticleOnCurve(ICurveI curve,
IVec pos,
double closenessTolerance,
double uTolerance)
curve - target curves to be on.pos - point to specify location of particle on the curve and this point is embed inside IParticleOnCurve and controlled by it.closenessTolerance - tolerance to determine if the point is on the curve or not. if this is negative, it will create any closest particle to the point even if it's far.uTolerance - tolerance in u parameter to specify how precise u parameter of particle shoould be
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||